CVE-2023-37478
CRITICAL 9.8CVSS 3.1pnpm incorrectly parses tar archives relative to specification
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.
- Published
- 1 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-284
- Also known as
- GHSA-5r98-f33j-g8h7
- Sources
- NVDJSONOSV GHSA-5r98-f33j-g8h7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
< 7.33.4 | 7.33.4 |
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
>= 8.0.0, < 8.6.8 | 8.6.8 |
| OSV | npm | pnpm | < 7.33.4 | 7.33.4 |
| OSV | npm | @pnpm/exe | < 7.33.4 | 7.33.4 |
| OSV | npm | @pnpm/linux-arm64 | < 7.33.4 | 7.33.4 |
| OSV | npm | @pnpm/linux-x64 | < 7.33.4 | 7.33.4 |
| OSV | npm | @pnpm/linuxstatic-arm64 | < 7.33.4 | 7.33.4 |
| OSV | npm | @pnpm/macos-arm64 | < 7.33.4 | 7.33.4 |
| OSV | npm | @pnpm/macos-x64 | < 7.33.4 | 7.33.4 |
| OSV | npm | @pnpm/win-x64 | < 7.33.4 | 7.33.4 |
| OSV | npm | @pnpm/cafs | < 7.0.5 | 7.0.5 |
| OSV | npm | pnpm | >= 8.0.0, < 8.6.8 | 8.6.8 |
| OSV | npm | @pnpm/exe | >= 8.0.0, < 8.6.8 | 8.6.8 |
| OSV | npm | @pnpm/linux-arm64 | >= 8.0.0, < 8.6.8 | 8.6.8 |
| OSV | npm | @pnpm/linux-x64 | >= 8.0.0, < 8.6.8 | 8.6.8 |
| OSV | npm | @pnpm/linuxstatic-arm64 | >= 8.0.0, < 8.6.8 | 8.6.8 |
| OSV | npm | @pnpm/macos-arm64 | >= 8.0.0, < 8.6.8 | 8.6.8 |
| OSV | npm | @pnpm/macos-x64 | >= 8.0.0, < 8.6.8 | 8.6.8 |
| OSV | npm | @pnpm/win-x64 | >= 8.0.0, < 8.6.8 | 8.6.8 |
References
- https://github.com/pnpm/pnpm/releases/tag/v7.33.4 · Release Notes, WEB
- https://github.com/pnpm/pnpm/releases/tag/v8.6.8 · Release Notes, WEB
- https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-37478 · ADVISORY
- https://github.com/pnpm/pnpm · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 1 Aug 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 1 Aug 2023)