6.8 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
pnpm: Integrity Check Bypass via Missing Lockfile Integrity Field
pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm's tarball extraction worker skips integrity verification when the integrity field is absent from the lockfile resolution. If an attacker can both modify pnpm-lock.yaml to remove the integrity: field and cause the referenced registry URL to serve altered package content, pnpm install --frozen-lockfile can install the altered package without an integrity error. npm's npm ci enforces integrity by default; pnpm's behavior of silently skipping verification is a pnpm-specific fail-open gap. This vulnerability is fixed in 10.34.0 and 11.4.0.
References
-
https://github.com/pnpm/pnpm/security/advisories/GHSA-q6j5-fjx5-2mc3 x_refsource_CONFIRM
Affected products
- ==< 10.34.0
- ==>= 11.0.0, < 11.4.0
Matching in nixpkgs
pkgs.pnpm
Fast, disk space efficient package manager for JavaScript
pkgs.pnpm_10
Fast, disk space efficient package manager for JavaScript
pkgs.pnpm_11
Fast, disk space efficient package manager for JavaScript
pkgs.pnpm_12
Fast, disk space efficient package manager for JavaScript
-
nixos-unstable -
- nixos-unstable-small 12.3.4
pkgs.pnpm_10_29_2
Fast, disk space efficient package manager for JavaScript
pkgs.pnpm_10_34_0
Fast, disk space efficient package manager for JavaScript
-
nixos-unstable -
- nixos-unstable-small 10.34.0
pkgs.pnpmBuildHook
None
pkgs.pnpmConfigHook
None
pkgs.pnpm-fixup-state-db
None
pkgs.pnpm-shell-completion
Complete your pnpm command fastly
Package maintainers
-
@Scrumplex Sefa Eyeoglu <contact@scrumplex.net>
-
@gepbird Gutyina Gergő <gutyina.gergo.2@gmail.com>
-
@donovanglover Donovan Glover