ghsa-ppxp-px5q-gwqm
Vulnerability from github
Published
2022-05-24 19:20
Modified
2022-05-24 19:20
Severity ?
Details

The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency information in package-lock.json differs from package.json. This behavior is inconsistent with the documentation, and makes it easier for attackers to install malware that was supposed to have been blocked by an exact version match requirement in package-lock.json.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2021-43616"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-345"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2021-11-13T18:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency information in package-lock.json differs from package.json. This behavior is inconsistent with the documentation, and makes it easier for attackers to install malware that was supposed to have been blocked by an exact version match requirement in package-lock.json.",
  "id": "GHSA-ppxp-px5q-gwqm",
  "modified": "2022-05-24T19:20:36Z",
  "published": "2022-05-24T19:20:36Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43616"
    },
    {
      "type": "WEB",
      "url": "https://github.com/npm/cli/issues/2701"
    },
    {
      "type": "WEB",
      "url": "https://github.com/npm/cli/commit/457e0ae61bbc55846f5af44afa4066921923490f"
    },
    {
      "type": "WEB",
      "url": "https://docs.npmjs.com/cli/v7/commands/npm-ci"
    },
    {
      "type": "WEB",
      "url": "https://github.com/icatalina/CVE-2021-43616"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NXNVFKOF5ZYH5NIRWHKN6O6UBCHDV6FE"
    },
    {
      "type": "WEB",
      "url": "https://medium.com/cider-sec/this-time-we-were-lucky-85c0dcac94a0"
    },
    {
      "type": "WEB",
      "url": "https://security.netapp.com/advisory/ntap-20211210-0002"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.