Vulnerability · Published Oct 26, 2024 · Assigned by GitHub_M
CVE-2020-26308GHSL-2020-302: Regular Expression Denial of Service (ReDoS) in validate.js
High 8.7
In plain English
A high-severity regular-expression denial of service in validate.js from ansman. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities).
Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.5%top 55.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Validate.js provides a declarative way of validating javascript objects. Versions 0.13.1 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, no known patches are available.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | validate.js | no fix listed | GHSA-rv73-9c8w-jp4c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ansman | validate.js | 0 – through 0.13.1 |
Weakness: CWE-1333 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Green