CVE-2022-29244 npm packing does not respect root-level ignore files in workspaces
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Ubuntu
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.
Upgrade path
13 packages: 2 fixed, 1 partially fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netapp ontap select deploy administration utility | All versions | No fix listed | No fix yet |
| ubuntu/npm(Ubuntu 14.04) | = 1.2.18~dfsg-3; = 1.3.10~dfsg-1; All versions | No fix listed | No fix yet |
| ubuntu/npm(Ubuntu 20.04) | = 5.8.0+ds6-4; = 6.14.4+ds-1ubuntu2; All versions | No fix listed | No fix yet |
| ubuntu/npm(Ubuntu 22.04) | = 7.5.2+ds-2; = 7.24.2+ds-1; = 7.24.2+ds-2; = 8.3.0~ds-1 +5 more | No fix listed | No fix yet |
| ubuntu/npm(Ubuntu 24.04) | = 9.2.0~ds1-1; = 9.2.0~ds1-2; All versions | No fix listed | No fix yet |
| ubuntu/npm(Ubuntu 25.10) | = 9.2.0~ds1-3; All versions | No fix listed | No fix yet |
| ubuntu/npm(Ubuntu 26.04) | = 9.2.0~ds1-3; = 9.2.0~ds2-2; = 9.2.0~ds3-1; All versions | No fix listed | No fix yet |
| ubuntu/npm(Ubuntu 26.10) | = 9.2.0~ds3-1; = 11.16.0+ds2-4; All versions | No fix listed | No fix yet |
| ubuntu/npm(Ubuntu Pro 16.04) | = 1.4.21+ds-2; = 3.5.2-0ubuntu4; = 3.5.2-0ubuntu4.1.16.04.1~esm1; All versions | No fix listed | No fix yet |
| ubuntu/npm(Ubuntu Pro 18.04) | = 3.5.2-0ubuntu4; = 3.5.2-0ubuntu4.1.18.04.1~esm1; All versions | No fix listed | No fix yet |
| npm | >= 7.9.0; >= 8.11.0, < 8.11.0 | 8.11.0 | Partially fixed |
| npm(npm) | >= 7.9.0, < 8.11.0 | 8.11.0 | Fixed |
| npmjs npm | >= 7.9.0, < 8.11.0 | 8.11.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm(npm) | >= 7.9.0, < 8.11.0 | 8.11.0 |
| npm | >= 7.9.0 | No fix listed |
| npm | >= 8.11.0, < 8.11.0 | 8.11.0 |
| ubuntu/npm(Ubuntu:22.04) | All versions | No fix listed |
| npmjs npm | >= 7.9.0, < 8.11.0 | 8.11.0 |
| netapp ontap select deploy administration utility | All versions | No fix listed |
| ubuntu/npm(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/npm(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/npm(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/npm(Ubuntu:14.04) | All versions | No fix listed |
| ubuntu/npm(Ubuntu:14.04) | = 1.2.18~dfsg-3 | No fix listed |
| ubuntu/npm(Ubuntu:14.04) | = 1.3.10~dfsg-1 | No fix listed |
| ubuntu/npm(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/npm(Ubuntu:Pro:16.04) | = 1.4.21+ds-2 | No fix listed |
| ubuntu/npm(Ubuntu:Pro:16.04) | = 3.5.2-0ubuntu4 | No fix listed |
| ubuntu/npm(Ubuntu:Pro:16.04) | = 3.5.2-0ubuntu4.1.16.04.1~esm1 | No fix listed |
| ubuntu/npm(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/npm(Ubuntu:Pro:18.04) | = 3.5.2-0ubuntu4 | No fix listed |
| ubuntu/npm(Ubuntu:Pro:18.04) | = 3.5.2-0ubuntu4.1.18.04.1~esm1 | No fix listed |
| ubuntu/npm(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/npm(Ubuntu:20.04) | = 5.8.0+ds6-4 | No fix listed |
| ubuntu/npm(Ubuntu:20.04) | = 6.14.4+ds-1ubuntu2 | No fix listed |
| ubuntu/npm(Ubuntu:22.04) | = 7.5.2+ds-2 | No fix listed |
| ubuntu/npm(Ubuntu:22.04) | = 7.24.2+ds-1 | No fix listed |
| ubuntu/npm(Ubuntu:22.04) | = 7.24.2+ds-2 | No fix listed |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/npm(Ubuntu:22.04) | = 8.3.0~ds-1 | No fix listed |
| ubuntu/npm(Ubuntu:22.04) | = 8.3.0~ds-2 | No fix listed |
| ubuntu/npm(Ubuntu:22.04) | = 8.3.2~ds-1 | No fix listed |
| ubuntu/npm(Ubuntu:22.04) | = 8.5.0~ds-1 | No fix listed |
| ubuntu/npm(Ubuntu:22.04) | = 8.5.1~ds-1 | No fix listed |
| ubuntu/npm(Ubuntu:24.04) | = 9.2.0~ds1-1 | No fix listed |
| ubuntu/npm(Ubuntu:24.04) | = 9.2.0~ds1-2 | No fix listed |
| ubuntu/npm(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/npm(Ubuntu:25.10) | = 9.2.0~ds1-3 | No fix listed |
| ubuntu/npm(Ubuntu:26.10) | = 9.2.0~ds3-1 | No fix listed |
| ubuntu/npm(Ubuntu:26.10) | = 11.16.0+ds2-4 | No fix listed |
| ubuntu/npm(Ubuntu:26.04) | = 9.2.0~ds1-3 | No fix listed |
| ubuntu/npm(Ubuntu:26.04) | = 9.2.0~ds2-2 | No fix listed |
| ubuntu/npm(Ubuntu:26.04) | = 9.2.0~ds3-1 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- github.com issue-tracking release-notes third-party-advisory
- github.com issue-tracking release-notes third-party-advisory
- github.com issue-tracking release-notes third-party-advisory
- github.com issue-tracking release-notes third-party-advisory
- github.com issue-tracking product third-party-advisory
- github.com issue-tracking product third-party-advisory
- github.com issue-tracking product third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- security.netapp.com third-party-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com