High severityNVD Advisory· Published Aug 1, 2023· Updated Oct 10, 2024
pnpm incorrectly parses tar archives relative to specification
CVE-2023-37478
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
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pnpmnpm | < 7.33.4 | 7.33.4 |
@pnpm/exenpm | < 7.33.4 | 7.33.4 |
@pnpm/linux-arm64npm | < 7.33.4 | 7.33.4 |
@pnpm/linux-x64npm | < 7.33.4 | 7.33.4 |
@pnpm/linuxstatic-arm64npm | < 7.33.4 | 7.33.4 |
@pnpm/macos-arm64npm | < 7.33.4 | 7.33.4 |
@pnpm/macos-x64npm | < 7.33.4 | 7.33.4 |
@pnpm/win-x64npm | < 7.33.4 | 7.33.4 |
@pnpm/cafsnpm | < 7.0.5 | 7.0.5 |
pnpmnpm | >= 8.0.0, < 8.6.8 | 8.6.8 |
@pnpm/exenpm | >= 8.0.0, < 8.6.8 | 8.6.8 |
@pnpm/linux-arm64npm | >= 8.0.0, < 8.6.8 | 8.6.8 |
@pnpm/linux-x64npm | >= 8.0.0, < 8.6.8 | 8.6.8 |
@pnpm/linuxstatic-arm64npm | >= 8.0.0, < 8.6.8 | 8.6.8 |
@pnpm/macos-arm64npm | >= 8.0.0, < 8.6.8 | 8.6.8 |
@pnpm/macos-x64npm | >= 8.0.0, < 8.6.8 | 8.6.8 |
@pnpm/win-x64npm | >= 8.0.0, < 8.6.8 | 8.6.8 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-5r98-f33j-g8h7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-37478ghsaADVISORY
- github.com/pnpm/pnpm/releases/tag/v7.33.4ghsax_refsource_MISCWEB
- github.com/pnpm/pnpm/releases/tag/v8.6.8ghsax_refsource_MISCWEB
- github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.