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.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.5%top 60.4% 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.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

EcosystemPackageFixed inAdvisory
npmnope-validator0.12.1GHSA-3phv-83cj-p8p7

Affected products (as reported)

VendorProductVersions
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

References