parseusbs < 1.9 Command Injection via Volume Path Argument
Impact
parseusbs before 1.9 contains an OS command injection vulnerability where the volume listing path argument (-v flag) is passed unsanitized into an os.popen() shell command with ls, allowing arbitrary command injection via crafted volume path arguments containing shell metacharacters. An attacker can provide a crafted volume path via the -v flag that injects arbitrary commands during volume content enumeration.
Source excerpt · VulnCheckAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
khyrenz · parseusbs
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 0 to before 1.9.0 | affected |
| 1.9.0 | unaffected |
| 99f05996494e7e41ea0c7e13145ba20eb793e46b | unaffected |
Original source description
parseusbs before 1.9 contains an OS command injection vulnerability where the volume listing path argument (-v flag) is passed unsanitized into an os.popen() shell command with ls, allowing arbitrary command injection via crafted volume path arguments containing shell metacharacters. An attacker can provide a crafted volume path via the -v flag that injects arbitrary commands during volume content enumeration.