Live threats

All CVEs / Npmjs

CVE-2022-29244Npmjs Npm

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Npm.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
npmjsnpm≥ 7.9.0 < 8.11.0
netappontap_select_deploy_administration_utilityall

Official sources

References

Links published by the sources. Open them with care.