GitHub Advisoryadvisory · npm
GHSA-6q48-vjq2-mwcj Command Injection in umount
CRITICAL
Official page ↗
- Aliases
- CVE-2020-7628
- Ecosystem
- npm
- Packages
- umount
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2020-06-10
Affected packages
• npm umount: <= 1.1.6 (no fix yet)
Description
All versions of `umount ` are vulnerable to Command Injection. The package fails to sanitize input rules and passes it directly to an `exec` call on the `umount` function . This may allow attackers to execute arbitrary code in the system if the `device` value passed to the function is user-controlled.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Related
Alias · CVE (1)
- CVE-2020-7628 umount through 1.1.6 is vulnerable to Command Injection. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness