{"id":"CVE-2015-7982","aliases":[],"url":"https://o3.security/vulnerability/CVE-2015-7982","summary":"Command Injection in gm","details":"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.\n\n\n## Recommendation\n\nUpdate to version 1.21.1 or later.","published":"2020-09-01T15:18:55Z","modified":"2023-11-08T03:58:01.531987Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"gm","fixedVersion":"1.21.1"}],"fix":{"url":"https://github.com/aheckmann/gm/commit/5f5c77490aa84ed313405c88905eb4566135be31","label":"aheckmann/gm@5f5c774"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7982"},{"type":"WEB","url":"https://github.com/aheckmann/gm/commit/5f5c77490aa84ed313405c88905eb4566135be31"},{"type":"PACKAGE","url":"https://github.com/aheckmann/gm"},{"type":"WEB","url":"https://www.npmjs.com/advisories/54"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T03:58:01.531987Z"}}