CVE-2022-29244: npm packing does not respect root-level ignore files in workspaces
Vendor fix available · Affected: npm · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 90% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- npm · npmfrom 7.9.0 before 7.9.0*; from 8.11.0 before 8.11.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2022-29244 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-200cwe.mitre.org
- github.com/npm/cli/security/advisories/GHSA-hj9c-8jmm-8c52github.com
- github.com/npm/npm-packlistgithub.com
- github.com/npm/cli/tree/latest/workspaces/libnpmpublishgithub.com
- github.com/npm/cli/tree/latest/workspaces/libnpmpackgithub.com
- github.com/nodejs/node/pull/43210github.com
- github.com/npm/cli/releases/tag/v8.11.0github.com
- github.com/nodejs/node/releases/tag/v16.15.1github.com
- github.com/nodejs/node/releases/tag/v17.9.1github.com
- github.com/nodejs/node/releases/tag/v18.3.0github.com
- security.netapp.com/advisory/ntap-20220722-0007security.netapp.com