GHSA-PJH3-JV7W-9JPR

Vulnerability from github – Published: 2020-09-01 15:18 – Updated: 2021-09-23 21:23
VLAI?
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.

Show details on source website

{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 1.20.0"
      },
      "package": {
        "ecosystem": "npm",
        "name": "gm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.21.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2015-7982"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-77"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:09:27Z",
    "nvd_published_at": null,
    "severity": "CRITICAL"
  },
  "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.",
  "id": "GHSA-pjh3-jv7w-9jpr",
  "modified": "2021-09-23T21:23:47Z",
  "published": "2020-09-01T15:18:55Z",
  "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"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Command Injection in gm"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…