CVE-2023-37478
pnpm incorrectly parses tar archives relative to specification
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | @pnpm/cafs, @pnpm/exe, @pnpm/linux-arm64 and 6 more | 7.0.5 and 1 more |
Show all 9 entries from 1 source
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | @pnpm/cafs | 7.0.5 |
| npm::GitHub Security Advisory npm | @pnpm/exe | 7.33.4, 8.6.8 |
| npm::GitHub Security Advisory npm | @pnpm/linux-arm64 | 7.33.4, 8.6.8 |
| npm::GitHub Security Advisory npm | @pnpm/linux-x64 | 7.33.4, 8.6.8 |
| npm::GitHub Security Advisory npm | @pnpm/linuxstatic-arm64 | 7.33.4, 8.6.8 |
| npm::GitHub Security Advisory npm | @pnpm/macos-arm64 | 7.33.4, 8.6.8 |
| npm::GitHub Security Advisory npm | @pnpm/macos-x64 | 7.33.4, 8.6.8 |
| npm::GitHub Security Advisory npm | @pnpm/win-x64 | 7.33.4, 8.6.8 |
| npm::GitHub Security Advisory npm | pnpm | 7.33.4, 8.6.8 |