CVE-2022-29244
CVSS V2 Medium 5
CVSS V3 High 7.5
Description
npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`, `--workspace=<name>`). Anyone who has run `npm pack` or `npm publish` inside a workspace, as of v7.9.0 and v7.13.0 respectively, may be affected and have published files into the npm registry they did not intend to include. Users should upgrade to the latest, patched version of npm v8.11.0, run: npm i -g npm@latest . Node.js versions v16.15.1, v17.19.1, and v18.3.0 include the patched v8.11.0 version of npm.
Overview
- CVE ID
- CVE-2022-29244
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-06-13T14:15:09
- Last Modified Date
- 2022-10-27T16:25:40
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:* | 1 | OR | 7.9.0 | 8.11.0 |
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/nodejs/node/pull/43210 | Patch Third Party Advisory |
https://github.com/nodejs/node/releases/tag/v16.15.1 | Release Notes Third Party Advisory |
https://github.com/nodejs/node/releases/tag/v17.9.1 | Release Notes Third Party Advisory |
https://github.com/nodejs/node/releases/tag/v18.3.0 | Release Notes Third Party Advisory |
https://github.com/npm/cli/releases/tag/v8.11.0 | Release Notes Third Party Advisory |
https://github.com/npm/cli/security/advisories/GHSA-hj9c-8jmm-8c52 | Third Party Advisory |
https://github.com/npm/cli/tree/latest/workspaces/libnpmpack | Product Third Party Advisory |
https://github.com/npm/cli/tree/latest/workspaces/libnpmpublish | Product Third Party Advisory |
https://github.com/npm/npm-packlist | Product Third Party Advisory |
https://security.netapp.com/advisory/ntap-20220722-0007/ | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-29244 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29244 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-06-13 15:00:10 | Added to TrackCVE |