{"cve":"CVE-2023-37478","nvd":{"published":"2023-08-01T12:15:09.937","modified":"2026-06-17T06:08:17.997","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-284"],"references":["https://github.com/pnpm/pnpm/releases/tag/v7.33.4","https://github.com/pnpm/pnpm/releases/tag/v8.6.8","https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7","https://github.com/pnpm/pnpm/releases/tag/v7.33.4","https://github.com/pnpm/pnpm/releases/tag/v8.6.8"],"products":["pnpm:pnpm"],"source":"nvd","synced_at":"2026-10-19T21:38:35.729974749+00:00"},"epss":{"cve":"CVE-2023-37478","score":0.012,"percentile":0.68185,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5r98-f33j-g8h7","url":"https://osv.dev/vulnerability/GHSA-5r98-f33j-g8h7","summary":"pnpm incorrectly parses tar archives relative to specification","modified":"2026-09-10T03:49:57.359221734Z","packages":[{"ecosystem":"npm","name":"pnpm","purl":"pkg:npm/pnpm","ranges":["<7.33.4"],"fixed":["7.33.4"]},{"ecosystem":"npm","name":"@pnpm/exe","purl":"pkg:npm/%40pnpm/exe","ranges":["<7.33.4"],"fixed":["7.33.4"]},{"ecosystem":"npm","name":"@pnpm/linux-arm64","purl":"pkg:npm/%40pnpm/linux-arm64","ranges":["<7.33.4"],"fixed":["7.33.4"]},{"ecosystem":"npm","name":"@pnpm/linux-x64","purl":"pkg:npm/%40pnpm/linux-x64","ranges":["<7.33.4"],"fixed":["7.33.4"]},{"ecosystem":"npm","name":"@pnpm/linuxstatic-arm64","purl":"pkg:npm/%40pnpm/linuxstatic-arm64","ranges":["<7.33.4"],"fixed":["7.33.4"]},{"ecosystem":"npm","name":"@pnpm/macos-arm64","purl":"pkg:npm/%40pnpm/macos-arm64","ranges":["<7.33.4"],"fixed":["7.33.4"]},{"ecosystem":"npm","name":"@pnpm/macos-x64","purl":"pkg:npm/%40pnpm/macos-x64","ranges":["<7.33.4"],"fixed":["7.33.4"]},{"ecosystem":"npm","name":"@pnpm/win-x64","purl":"pkg:npm/%40pnpm/win-x64","ranges":["<7.33.4"],"fixed":["7.33.4"]},{"ecosystem":"npm","name":"@pnpm/cafs","purl":"pkg:npm/%40pnpm/cafs","ranges":["<7.0.5"],"fixed":["7.0.5"]},{"ecosystem":"npm","name":"pnpm","purl":"pkg:npm/pnpm","ranges":[">=8.0.0 <8.6.8"],"fixed":["8.6.8"]},{"ecosystem":"npm","name":"@pnpm/exe","purl":"pkg:npm/%40pnpm/exe","ranges":[">=8.0.0 <8.6.8"],"fixed":["8.6.8"]},{"ecosystem":"npm","name":"@pnpm/linux-arm64","purl":"pkg:npm/%40pnpm/linux-arm64","ranges":[">=8.0.0 <8.6.8"],"fixed":["8.6.8"]},{"ecosystem":"npm","name":"@pnpm/linux-x64","purl":"pkg:npm/%40pnpm/linux-x64","ranges":[">=8.0.0 <8.6.8"],"fixed":["8.6.8"]},{"ecosystem":"npm","name":"@pnpm/linuxstatic-arm64","purl":"pkg:npm/%40pnpm/linuxstatic-arm64","ranges":[">=8.0.0 <8.6.8"],"fixed":["8.6.8"]},{"ecosystem":"npm","name":"@pnpm/macos-arm64","purl":"pkg:npm/%40pnpm/macos-arm64","ranges":[">=8.0.0 <8.6.8"],"fixed":["8.6.8"]},{"ecosystem":"npm","name":"@pnpm/macos-x64","purl":"pkg:npm/%40pnpm/macos-x64","ranges":[">=8.0.0 <8.6.8"],"fixed":["8.6.8"]},{"ecosystem":"npm","name":"@pnpm/win-x64","purl":"pkg:npm/%40pnpm/win-x64","ranges":[">=8.0.0 <8.6.8"],"fixed":["8.6.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}