CVE-2020-26309 json
GHSL-2020-303: Regular Expression Denial of Service (ReDoS) in nope-validator
published 2024-10-26 2 y ago modified 2026-06-17 4 mo ago also GHSA-3phv-83cj-p8p7 , EUVD-2024-2920
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm nope-validator 0.12.1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | nope-validator | <0.12.1 |
0.12.1 |
Affected products
- ftonato nope-validator
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/ftonato/nope-validator/commit/4564b7444dcd92769e5c5b80420469c9f18b7a05#diff-9c399c46fa266bcf2be2704fbb3691817
web
-
github.com
/ftonato/nope-validator/commit/c8af9f93abe8f4786f8f69d2b0518f8ca3652f44
web
- securitylab.github.com /advisories/GHSL-2020-303-redos-nope-validator/
-
github.com
/ftonato/nope-validator/issues/352
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-26309
advisory
-
github.com
/ftonato/nope-validator
package
-
securitylab.github.com
/advisories/GHSL-2020-303-redos-nope-validator
advisory
Sources
- CVE List CVE-2020-26309
- GitHub Advisory GHSA-3phv-83cj-p8p7
- NVD CVE-2020-26309
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.