Severity
7.5HIGHNVD
EPSS
1.1%
top 22.20%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 13
Latest updateJun 14

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=`). 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,

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

CVEListV5npm/npm7.9.07.9.0*+1
NVDnpmjs/npm7.9.08.11.0
npmnpmjs/npm7.9.08.11.0

Patches

🔴Vulnerability Details

4
OSV
CVE-2022-29244: npm pack ignores root-level2022-06-13
CVEList
npm packing does not respect root-level ignore files in workspaces2022-06-13
OSV
Packing does not respect root-level ignore files in workspaces2022-06-02
GHSA
Packing does not respect root-level ignore files in workspaces2022-06-02

📋Vendor Advisories

2
Microsoft
npm packing does not respect root-level ignore files in workspaces2022-06-14
Red Hat
nodejs: npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace2022-06-13
CVE-2022-29244 — Sensitive Information Exposure in NPM | cvebase