cve.bz

CVE-2023-37478 pnpm pnpm: Improper Access Control

9.8 criticalEPSS 1.2%Fix available

Critical (9.8) in pnpm pnpm. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in pnpm 7.33.4, 8.6.8.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-10-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • pnpm (npm): fixed in 7.33.4, 8.6.8
  • @pnpm/exe (npm): fixed in 7.33.4, 8.6.8
  • @pnpm/linux-arm64 (npm): fixed in 7.33.4, 8.6.8
  • @pnpm/linux-x64 (npm): fixed in 7.33.4, 8.6.8
  • @pnpm/linuxstatic-arm64 (npm): fixed in 7.33.4, 8.6.8
  • @pnpm/macos-arm64 (npm): fixed in 7.33.4, 8.6.8
  • @pnpm/macos-x64 (npm): fixed in 7.33.4, 8.6.8
  • @pnpm/win-x64 (npm): fixed in 7.33.4, 8.6.8
  • Vendor advisory: https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7

Ask an AI about this CVE

Show the promptExplain CVE-2023-37478 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-37478?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-37478?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-37478 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pnpm:pnpmbefore 7.33.4
pnpm:pnpmfrom 8.0.0 before 8.6.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5r98-f33j-g8h7npmpnpm<7.33.47.33.4
GHSA-5r98-f33j-g8h7npm@pnpm/exe<7.33.47.33.4
GHSA-5r98-f33j-g8h7npm@pnpm/linux-arm64<7.33.47.33.4
GHSA-5r98-f33j-g8h7npm@pnpm/linux-x64<7.33.47.33.4
GHSA-5r98-f33j-g8h7npm@pnpm/linuxstatic-arm64<7.33.47.33.4
GHSA-5r98-f33j-g8h7npm@pnpm/macos-arm64<7.33.47.33.4
GHSA-5r98-f33j-g8h7npm@pnpm/macos-x64<7.33.47.33.4
GHSA-5r98-f33j-g8h7npm@pnpm/win-x64<7.33.47.33.4
GHSA-5r98-f33j-g8h7npm@pnpm/cafs<7.0.57.0.5
GHSA-5r98-f33j-g8h7npmpnpm>=8.0.0 <8.6.88.6.8
GHSA-5r98-f33j-g8h7npm@pnpm/exe>=8.0.0 <8.6.88.6.8
GHSA-5r98-f33j-g8h7npm@pnpm/linux-arm64>=8.0.0 <8.6.88.6.8
GHSA-5r98-f33j-g8h7npm@pnpm/linux-x64>=8.0.0 <8.6.88.6.8
GHSA-5r98-f33j-g8h7npm@pnpm/linuxstatic-arm64>=8.0.0 <8.6.88.6.8
GHSA-5r98-f33j-g8h7npm@pnpm/macos-arm64>=8.0.0 <8.6.88.6.8
GHSA-5r98-f33j-g8h7npm@pnpm/macos-x64>=8.0.0 <8.6.88.6.8
GHSA-5r98-f33j-g8h7npm@pnpm/win-x64>=8.0.0 <8.6.88.6.8

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON