CVE-2022-29244: npm packing does not respect root-level ignore files in workspaces
Vulnerability summary
CVE-2022-29244 is a high (CVSS 7.5) vulnerability in netapp ontap_select_deploy_administration_utility. EPSS estimates a 4.00% chance of exploitation in the next 30 days, higher than 90.5% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 13-06-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
4.00%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
Increase +0.09 pp
From 3.91% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Netapp1 product
Npm1 product
- npm≥ 7.9.0, < 8.11.0 | ≥ 7.9.0, < 7.9.0* | ≥ 8.11.0, < 8.11.0
Npmjs1 product
- npm≥ 7.9.0, < 8.11.0
Opensuse1 product
- nodejs16&distro=openSUSE Tumbleweed< 16.17.0-1.1
Ubuntu1 product
- npmAll versions (No fix recorded)
5 vendors · 5 products
References
16 links- github.com/npm/cli/security/advisories/GHSA-hj9c-8jmm-8c52X Refsource MISCREPORTWEBThird Party Advisory
- github.com/npm/cli/tree/latest/workspaces/libnpmpublishX Refsource MISCREPORTWEBProductThird Party Advisory
- github.com/npm/cli/tree/latest/workspaces/libnpmpackX Refsource MISCREPORTWEBProductThird Party Advisory
- github.com/nodejs/node/releases/tag/v16.15.1X Refsource MISCREPORTWEBRelease NotesThird Party Advisory
- github.com/nodejs/node/releases/tag/v17.9.1X Refsource MISCREPORTWEBRelease NotesThird Party Advisory
- github.com/nodejs/node/releases/tag/v18.3.0X Refsource MISCREPORTWEBRelease NotesThird Party Advisory