VYPR
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.

PackageAffected versionsPatched versions
pnpmnpm
< 7.33.47.33.4
@pnpm/exenpm
< 7.33.47.33.4
@pnpm/linux-arm64npm
< 7.33.47.33.4
@pnpm/linux-x64npm
< 7.33.47.33.4
@pnpm/linuxstatic-arm64npm
< 7.33.47.33.4
@pnpm/macos-arm64npm
< 7.33.47.33.4
@pnpm/macos-x64npm
< 7.33.47.33.4
@pnpm/win-x64npm
< 7.33.47.33.4
@pnpm/cafsnpm
< 7.0.57.0.5
pnpmnpm
>= 8.0.0, < 8.6.88.6.8
@pnpm/exenpm
>= 8.0.0, < 8.6.88.6.8
@pnpm/linux-arm64npm
>= 8.0.0, < 8.6.88.6.8
@pnpm/linux-x64npm
>= 8.0.0, < 8.6.88.6.8
@pnpm/linuxstatic-arm64npm
>= 8.0.0, < 8.6.88.6.8
@pnpm/macos-arm64npm
>= 8.0.0, < 8.6.88.6.8
@pnpm/macos-x64npm
>= 8.0.0, < 8.6.88.6.8
@pnpm/win-x64npm
>= 8.0.0, < 8.6.88.6.8

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.