GHSA-pjh3-jv7w-9jpr

Suggest an improvement
Source
https://github.com/advisories/GHSA-pjh3-jv7w-9jpr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-pjh3-jv7w-9jpr/GHSA-pjh3-jv7w-9jpr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pjh3-jv7w-9jpr
Aliases
  • CVE-2015-7982
Published
2020-09-01T15:18:55Z
Modified
2023-11-08T03:58:01Z
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.

Recommendation

Update to version 1.21.1 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:09:27Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / gm

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.21.1

Database specific

last_known_affected_version_range
"<= 1.20.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-pjh3-jv7w-9jpr/GHSA-pjh3-jv7w-9jpr.json"