Denial of Service via addGitSha in pacote due to malicious spec.rawSpec input
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | pacote | affected |
|
||||||
| n/a | org.webjars.npm:pacote | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Npmjs | Pacote |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-w4pp-8pjf-rmxw | pacote is vulnerable to Denial of Service (DoS) via the addGitSha function |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.346% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Denial of Service via addGitSha in pacote due to malicious spec.rawSpec input |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | Versions of the package pacote from 11.2.7 and before 21.5.1 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. |
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Npmjs
Npmjs pacote |
|
| Vendors & Products |
Npmjs
Npmjs pacote |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Denial of Service via RegExp Replacement in pacote addGitSha Function |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-400 | |
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Denial of Service via RegExp Replacement in pacote addGitSha Function |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Weaknesses | CWE-1333 | |
| References |
| |
| Metrics |
cvssV3_1
|