CVE-2023-37478
"pnpm Tarball Parsing Malicious Package Injection Vulnerability"
Description
pnpm is a package manager. It is possible to construct a tarball that, when installed via npm or parsed by the registry is safe, but when installed via pnpm is malicious, due to how pnpm parses tar archives. This can result in a package that appears safe on the npm registry or when installed via npm being replaced with a compromised or malicious version when installed via pnpm. This issue has been patched in version(s) 7.33.4 and 8.6.8.
INFO
Published Date :
Aug. 1, 2023, 12:15 p.m.
Last Modified :
Nov. 21, 2024, 8:11 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2023-37478 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2023-37478
.
URL | Resource |
---|---|
https://github.com/pnpm/pnpm/releases/tag/v7.33.4 | Release Notes |
https://github.com/pnpm/pnpm/releases/tag/v8.6.8 | Release Notes |
https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7 | Vendor Advisory |
https://github.com/pnpm/pnpm/releases/tag/v7.33.4 | Release Notes |
https://github.com/pnpm/pnpm/releases/tag/v8.6.8 | Release Notes |
https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7 | Vendor Advisory |
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).
None
HTML JavaScript CSS
CVE-2023-37478 showcases how a difference in npm and pnpm install packages that could be exploited by a well crafted tar.gz packge. This repo shows a demo.
Shell JavaScript Makefile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-37478
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-37478
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/pnpm/pnpm/releases/tag/v7.33.4 Added Reference https://github.com/pnpm/pnpm/releases/tag/v8.6.8 Added Reference https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Aug. 04, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/pnpm/pnpm/releases/tag/v7.33.4 No Types Assigned https://github.com/pnpm/pnpm/releases/tag/v7.33.4 Release Notes Changed Reference Type https://github.com/pnpm/pnpm/releases/tag/v8.6.8 No Types Assigned https://github.com/pnpm/pnpm/releases/tag/v8.6.8 Release Notes Changed Reference Type https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7 No Types Assigned https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7 Vendor Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* versions up to (excluding) 7.33.4 *cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* versions from (including) 8.0.0 up to (excluding) 8.6.8
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-37478
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-2023-37478
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.19 }} 0.02%
score
0.56726
percentile