CVE-2022-29244
published high CVSS 3.1 · 7.5npm packing does not respect root-level ignore files in workspaces
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| npm | — | npm7.9.0 to < 7.9.0* · 8.11.0 to < 8.11.0 | Affected | Not stated | GitHub_M |
| AlmaLinux | 9 | npm | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | ALSA-2022:6595 |
| Oracle Linux | 9 | npmaarch64 | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | ELSA-2022-6595 |
| Red Hat Enterprise Linux | RHEL-9 | npmaarch64 | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | RHSA-2022:6595 |
| SUSE / openSUSE | SLE-12 | nodejs16aarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| Oracle Linux | 9 | npmx86_64 | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | ELSA-2022-6595 |
| Red Hat Enterprise Linux | RHEL-9 | npmppc64le | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | npms390x | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | RHSA-2022:6595 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | npmx86_64 | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | RHSA-2022:6595 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux | 9 | nodejs-libs | Advisory build | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 2.0.19-1.el9_0 | ALSA-2022:6595 |
| Oracle Linux | 9 | nodejsaarch64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejsx86_64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-docsaarch64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-docsx86_64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-libsaarch64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-libsx86_64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-nodemonaarch64 | Advisory build | 0:2.0.19-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-nodemonx86_64 | Advisory build | 0:2.0.19-1.el9_0 | ELSA-2022-6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejsaarch64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejsppc64le | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejss390x | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejssrc | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejsx86_64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfoaarch64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfoi686 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfoppc64le | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfos390x | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfox86_64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourceaarch64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourcei686 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourceppc64le | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsources390x | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourcex86_64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-docsnoarch | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18naarch64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18nppc64le | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18ns390x | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18nx86_64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libsaarch64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libsi686 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libsppc64le | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libss390x | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libsx86_64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libs-debuginfoaarch64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libs-debuginfoi686 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libs-debuginfoppc64le | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libs-debuginfos390x | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-libs-debuginfox86_64 | Advisory build | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-nodemonnoarch | Advisory build | 2.0.19-1.el9_0 | RHSA-2022:6595 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-nodemonsrc | Advisory build | 2.0.19-1.el9_0 | RHSA-2022:6595 |
| SUSE / openSUSE | SLE-12 | nodejs16ppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | nodejs16s390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | nodejs16x86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-develaarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-develppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-devels390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-develx86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-docsnoarch | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | npm16aarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | npm16ppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | npm16s390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12 | npm16x86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16aarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16ppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16s390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16x86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-develaarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-develppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-devels390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-develx86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-docsnoarch | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm16aarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm16ppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm16s390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm16x86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16aarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16ppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16s390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16x86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-develaarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-develppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-devels390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-develx86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-docsnoarch | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm16aarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm16ppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm16s390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm16x86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16aarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16ppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16s390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16x86_64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16-develaarch64 | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16-develppc64le | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16-devels390x | Advisory build | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| npm | npm | 7.9.0 to < 7.9.0* (affected · custom)8.11.0 to < 8.11.0 (affected · custom) | GitHub_M · cna |
Weaknesses
1- CWE-200 CWE-200 Information Exposure
References
10- https://github.com/nodejs/node/pull/43210
- https://github.com/nodejs/node/releases/tag/v16.15.1
- https://github.com/nodejs/node/releases/tag/v17.9.1
- https://github.com/nodejs/node/releases/tag/v18.3.0
- https://github.com/npm/cli/releases/tag/v8.11.0
- https://github.com/npm/cli/security/advisories/GHSA-hj9c-8jmm-8c52
- https://github.com/npm/cli/tree/latest/workspaces/libnpmpack
- https://github.com/npm/cli/tree/latest/workspaces/libnpmpublish
- https://github.com/npm/npm-packlist
- https://security.netapp.com/advisory/ntap-20220722-0007/
Provider assertions
3GitHub_M · cna
npm packing does not respect root-level ignore files in workspaces
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d5cc6229dff5951442744928011ec4444b882370d141d1910dd4b0a594a0f4fe
- Ingested
- 23 Sep 2026, 07:59:45 UTC
- Source record
- Official CVE record