pacote
Affected
- introduced
11.2.7, fixed21.5.1(semver)
Fixed versions
21.5.1
Fix
- Fixed version
21.5.1npm install [email protected]
Advisory
Also known as: CVE-2026-9496
pacote is vulnerable to Denial of Service (DoS) via the addGitSha function
Versions of the package pacote from 11.2.7 are vulnerable to Denial of Service (DoS) via the addGitSha function. An attacker can exploit this vulnerability by supplying a specially crafted spec.rawSpec value that triggers the function’s regex replacement and string-manipulation logic, causing excessive CPU consumption and potentially stalling or crashing the process.
High Basis: The source's own band: HIGH
11.2.7, fixed 21.5.1 (semver)21.5.1
21.5.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0