Skip to content
Fencer Intel
high 7.5

CVE-2023-37478 json

pnpm incorrectly parses tar archives relative to specification

published 3y ago modified 2mo ago also EUVD-2023-2219 , GHSA-5r98-f33j-g8h7

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 68%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm pnpm 7.33.4, 8.6.8
  • npm @pnpm/exe 7.33.4, 8.6.8
  • npm @pnpm/linux-arm64 7.33.4, 8.6.8
  • npm @pnpm/linux-x64 7.33.4, 8.6.8
  • npm @pnpm/linuxstatic-arm64 7.33.4, 8.6.8
  • npm @pnpm/macos-arm64 7.33.4, 8.6.8
  • npm @pnpm/macos-x64 7.33.4, 8.6.8
  • npm @pnpm/win-x64 7.33.4, 8.6.8
  • npm @pnpm/cafs 7.0.5
  • pnpm pnpm 7.33.4, 8.6.8

Is CVE-2023-37478 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2y ago

Exploit prediction

1.20% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-15).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm pnpm
<7.33.4
>=8.0.0, <8.6.8
7.33.4
8.6.8
npm @pnpm/exe
<7.33.4
>=8.0.0, <8.6.8
7.33.4
8.6.8
npm @pnpm/linux-arm64
<7.33.4
>=8.0.0, <8.6.8
7.33.4
8.6.8
npm @pnpm/linux-x64
<7.33.4
>=8.0.0, <8.6.8
7.33.4
8.6.8
npm @pnpm/linuxstatic-arm64
<7.33.4
>=8.0.0, <8.6.8
7.33.4
8.6.8
npm @pnpm/macos-arm64
<7.33.4
>=8.0.0, <8.6.8
7.33.4
8.6.8
npm @pnpm/macos-x64
<7.33.4
>=8.0.0, <8.6.8
7.33.4
8.6.8
npm @pnpm/win-x64
<7.33.4
>=8.0.0, <8.6.8
7.33.4
8.6.8
npm @pnpm/cafs
<7.0.5
7.0.5

Affected products

  • pnpm pnpm

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of pnpm/pnpm published their own advisory on GitHub. Reviewed sources take precedence over it.