REDHAT-BUG-2427703: High severity pnpm vulnerability
pnpm is a package manager. Versions 10.26.2 and below store HTTP tarball dependencies (and git-hosted tarballs) in the lockfile without integrity hashes. This allows the remote server to serve different content on each install, even when a lockfile is committed. An attacker who publishes a package with an HTTP tarball dependency can serve different code to different users or CI/CD environments. The attack requires the victim to install a package that has an HTTP/git tarball in its dependency tree. The victim's lockfile provides no protection. This issue is fixed in version 10.26.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pnpmto a version that resolves this vulnerability.Fixed in 10.26.0 - Upgrade
Upgrade
pnpmto a version that resolves this vulnerability.Fixed in 10.26.2
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2427703?
The severity of REDHAT-BUG-2427703 is classified as high with a score of 7.
How do I fix REDHAT-BUG-2427703?
To fix REDHAT-BUG-2427703, upgrade pnpm to version 10.26.3 or later.
What vulnerability does REDHAT-BUG-2427703 address?
REDHAT-BUG-2427703 addresses the issue of pnpm storing HTTP tarball dependencies in the lockfile without integrity hashes.
What are the potential risks associated with REDHAT-BUG-2427703?
The potential risks associated with REDHAT-BUG-2427703 include the possibility of an attacker serving different content on each install due to the absence of integrity hashes.
Which versions of pnpm are affected by REDHAT-BUG-2427703?
pnpm versions 10.26.2 and below are affected by REDHAT-BUG-2427703.