Advisory

GHSA-pjh3-jv7w-9jpr

Also known as: 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.

Recommendation

Update to version 1.21.1 or later.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-09-01 15:18 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

gm

npm · All systems

Affected

  • introduced 0, fixed 1.21.1 (semver)

Fixed versions

1.21.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences