GHSA-pjh3-jv7w-9jprCritical

Command Injection in gm

Published
September 1, 2020
Last Modified
January 9, 2023

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • npm/gm:<= 1.20.0

🔗 References (4)