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.
Remediation
References
https://github.com/pnpm/pnpm/releases/tag/v7.33.4
https://github.com/pnpm/pnpm/releases/tag/v8.6.8
https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7
Related Vulnerabilities
CVE-2022-45146 Vulnerability in maven package org.bouncycastle:bc-fips
CVE-2020-2170 Vulnerability in maven package org.jenkins-ci.plugins:rapiddeploy-jenkins
CVE-2021-24033 Vulnerability in maven package org.webjars.npm:react-dev-utils
CVE-2022-34812 Vulnerability in maven package org.jenkins-ci.plugins:xpath-config-viewer
CVE-2023-26473 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates