Staging Environment: Content and features may be unstable or change without notice.

Advisory Weakness Curation

CVE-2015-7982

Progress 0 / 0

Advisory Summaries

github_osv/GHSA-pjh3-jv7w-9jpr

Command Injection in gm 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.

gitlab/npm/gm/CVE-2015-7982

Command Injection in gm.compare function gm is vulnerable to command injection when user input is passed into the arguments of the `gm.compare `function. The `compare()` function fails to sanitize meta characters correctly before calling the graphics magic binary.