CVE-2015-7982 json
Command Injection in gm
published 2020-09-01 6 y ago modified 2023-11-08 3 y ago also GHSA-pjh3-jv7w-9jpr
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | gm | <1.21.1 |
1.21.1 |
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
Sources
- GitHub Advisory GHSA-pjh3-jv7w-9jpr
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.