cbcvebase.
CVE-2022-29244
published 2022-06-13

CVE-2022-29244: npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`…

PriorityP346high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
3.46%
87.8th percentile
npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`, `--workspace=`). 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

6 ranges
VendorProductVersion rangeFixed in
msrcazl3_python-tensorboard_2.16.2-6_on_azure_linux_3.0
msrccbl2_python-tensorboard_2.11.0-3_on_cbl_mariner_2.0
npmnpm>= 7.9.0 < 7.9.0*7.9.0*
npmnpm>= 8.11.0 < 8.11.08.11.0
npmjsnpm>= 7.9.0 < 8.11.08.11.0
npmjsnpm>= 7.9.0 < 8.11.08.11.0

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
ghsa7.5HIGH
osv7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.