Vulnerability · Published Oct 26, 2024 · Assigned by GitHub_M
CVE-2020-26309GHSL-2020-303: Regular Expression Denial of Service (ReDoS) in nope-validator
High 8.7
In plain English
A high-severity regular-expression denial of service in nope-validator from ftonato. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Validate.js provides a declarative way of validating javascript objects. Versions 0.11.3 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, it is unknown if any patches are available.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | nope-validator | 0.12.1 | GHSA-3phv-83cj-p8p7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ftonato | nope-validator | 0 – through 0.11.3 |
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