Description
The ms package before 0.7.1 for Node.js allows attackers to cause a denial of service (CPU consumption) via a long version string, aka a "regular expression denial of service (ReDoS)."
The ms package before 0.7.1 for Node.js allows attackers to cause a denial of service (CPU consumption) via a long version string, aka a "regular expression denial of service (ReDoS)."
| Vendor | Product | Version | Platform |
|---|---|---|---|
| vercel | ms | < 0.7.1 | node.js |
CWE-1333 Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
| Scope | Impact |
|---|---|
| Availability | DoS: Resource Consumption (CPU) Attackers can create crafted inputs that intentionally cause the regular expression to use excessive backtracking in a way that causes the CPU consumption to spike. |
All 543 CWE-1333 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org