CVE-2020-26309 GHSL-2020-303: Regular Expression Denial of Service (ReDoS) in nope-validator

High 8.7 Published Updated

Attackers can cause denial of service in applications using nope-validator by submitting inputs that trigger inefficient regular expression processing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-26309?

CVE-2020-26309 is a high-severity denial of service vulnerability in ftonato nope-validator, published on 26 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-1333

Which versions are affected by CVE-2020-26309?

2 open source packages ship an affected version, including nope-validator.

PackageAffectedFixed in
nope-validator npmAll versions0.12.1
nope-validator npmAll versions0.12.1

How do I fix CVE-2020-26309?

Upgrade nope-validator to 0.12.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-26309 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-26309 exists.

Sources

Also known as GHSA-3phv-83cj-p8p7.

Is CVE-2020-26309 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free