Paper/Archive/CVE-2023-37478

CVE-2023-37478

pnpm pnpm — pnpm incorrectly parses tar archives relative to specification

Description · from the CVE record

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

ProductAffectedFixed inSource
pnpm< 7.33.4–CNA
pnpm>= 8.0.0, < 8.6.8–CNA
pnpm< 7.33.47.33.4CISA-ADP
pnpm8.0.0 – < 8.6.88.6.8CISA-ADP

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7refgithub.com/pnpm/pnpm/releases/tag/v7.33.4refgithub.com/pnpm/pnpm/releases/tag/v8.6.8