UnratednpmAmendedPublished
Command Injection in gm
CVE-2015-7982 · GHSA-pjh3-jv7w-9jpr
- Affected
- npm gm <= 1.20.0
- Fixed in
- 1.21.1· Vendor fix available
- Issue
- Versions of gm prior to 1.21.1 are affected by a command injection vulnerability. The vulnerability is triggered when user input is passed into gm.compare(), which fails to sanitize input correctly before calling the graphics magic binary. Recommendation Update to version 1.21.1 or later.
Recommended action: Upgrade to 1.21.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.