CVE-2020-7628 Command Injection in umount
The umount library allows command injection via unsanitized device arguments, enabling attackers to execute arbitrary commands.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-7628?
CVE-2020-7628 is a critical command injection vulnerability in install-package, published on 2 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
umount through 1.1.6 is vulnerable to Command Injection. The argument device can be controlled by users without any sanitization.
Weakness: CWE-78
Which versions are affected by CVE-2020-7628?
2 open source packages ship an affected version, including umount. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
umount npm | All versions to 1.1.6 | None |
umount npm | All versions to 1.1.6 | None |
Products include Install-Package Project Install-Package, Umount Project Umount.
How do I fix CVE-2020-7628?
No fix has been published for CVE-2020-7628 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-7628 being exploited?
There is no known exploitation of CVE-2020-7628 in the wild and no public exploit code.
Other vulnerabilities in install-package
Sources
Also known as GHSA-6q48-vjq2-mwcj.