Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pnpm
  4. ›
  5. CVE-2023-37478

CVE-2023-37478: Improper Access Control

August 1, 2023 (updated August 4, 2023)

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.

References

  • github.com/pnpm/pnpm/releases/tag/v7.33.4
  • github.com/pnpm/pnpm/releases/tag/v8.6.8
  • github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7
  • nvd.nist.gov/vuln/detail/CVE-2023-37478

Code Behaviors & Features

Detect and mitigate CVE-2023-37478 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.33.4, all versions starting from 8.0.0 before 8.6.8

Fixed versions

  • 7.33.4
  • 8.6.8

Solution

Upgrade to versions 7.33.4, 8.6.8 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

npm/pnpm/CVE-2023-37478.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:25 +0000.