CVE-2022-29244
npm Exposes Workspace Files to Registry Due to Insecure Packaging
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.
INFO
Published Date :
June 13, 2022, 2:15 p.m.
Last Modified :
Nov. 21, 2024, 6:58 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2022-29244
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-29244
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-29244
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-29244
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/nodejs/node/pull/43210 Added Reference https://github.com/nodejs/node/releases/tag/v16.15.1 Added Reference https://github.com/nodejs/node/releases/tag/v17.9.1 Added Reference https://github.com/nodejs/node/releases/tag/v18.3.0 Added Reference https://github.com/npm/cli/releases/tag/v8.11.0 Added Reference https://github.com/npm/cli/security/advisories/GHSA-hj9c-8jmm-8c52 Added Reference https://github.com/npm/cli/tree/latest/workspaces/libnpmpack Added Reference https://github.com/npm/cli/tree/latest/workspaces/libnpmpublish Added Reference https://github.com/npm/npm-packlist Added Reference https://security.netapp.com/advisory/ntap-20220722-0007/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Oct. 27, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20220722-0007/ No Types Assigned https://security.netapp.com/advisory/ntap-20220722-0007/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jul. 22, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220722-0007/ [No Types Assigned] -
Initial Analysis by [email protected]
Jun. 27, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/nodejs/node/pull/43210 No Types Assigned https://github.com/nodejs/node/pull/43210 Patch, Third Party Advisory Changed Reference Type https://github.com/nodejs/node/releases/tag/v16.15.1 No Types Assigned https://github.com/nodejs/node/releases/tag/v16.15.1 Release Notes, Third Party Advisory Changed Reference Type https://github.com/nodejs/node/releases/tag/v17.9.1 No Types Assigned https://github.com/nodejs/node/releases/tag/v17.9.1 Release Notes, Third Party Advisory Changed Reference Type https://github.com/nodejs/node/releases/tag/v18.3.0 No Types Assigned https://github.com/nodejs/node/releases/tag/v18.3.0 Release Notes, Third Party Advisory Changed Reference Type https://github.com/npm/cli/releases/tag/v8.11.0 No Types Assigned https://github.com/npm/cli/releases/tag/v8.11.0 Release Notes, Third Party Advisory Changed Reference Type https://github.com/npm/cli/security/advisories/GHSA-hj9c-8jmm-8c52 No Types Assigned https://github.com/npm/cli/security/advisories/GHSA-hj9c-8jmm-8c52 Third Party Advisory Changed Reference Type https://github.com/npm/cli/tree/latest/workspaces/libnpmpack No Types Assigned https://github.com/npm/cli/tree/latest/workspaces/libnpmpack Product, Third Party Advisory Changed Reference Type https://github.com/npm/cli/tree/latest/workspaces/libnpmpublish No Types Assigned https://github.com/npm/cli/tree/latest/workspaces/libnpmpublish Product, Third Party Advisory Changed Reference Type https://github.com/npm/npm-packlist No Types Assigned https://github.com/npm/npm-packlist Product, Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:* versions from (including) 7.9.0 up to (excluding) 8.11.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-29244
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-29244
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.22 }} 0.02%
score
0.59175
percentile