CVE-2022-29244Npmjs Npm
High 7.5 No auth needed
Follow: this CVE · Npmjs · Npmjs Npm We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.7% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jun 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Npm.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | npm |
≥ 7.9.0 < 8.11.0 |
8.11.0 |
npm install npm@8.11.0 |
Per OSV / GitHub Advisories (GHSA-hj9c-8jmm-8c52). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| npmjs | npm | ≥ 7.9.0 < 8.11.0 |
| netapp | ontap_select_deploy_administration_utility | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory
- github.com Product Third Party Advisory
- github.com Product Third Party Advisory
- github.com Product Third Party Advisory
- security.netapp.com Third Party Advisory