uu_mv is vulnerable to Improper Resolution of Path Equivalence
28
Low Risk
The mv backup safety guard is meant to refuse a move when creating the destination's backup would overwrite the source file. It compares the two operands as raw path strings rather than by file identity, so it fails to fire when the same file is named with different spellings such as a relative versus an absolute path. mv then destroys the source file and exits successfully with no diagnostic, defeating a documented safety check. The fix compares file identity so the guard triggers regardless of how the paths are spelled.
You are affected if you are using a version that falls within the vulnerable range and you use mv --backup=simple (or -b) where the source and destination refer to the same file spelled with different paths.
uu_mv is vulnerable to Improper Resolution of Path Equivalence in versions 0.0.1 - 0.9.0.
Upgrade the uu_mv library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant