CVE-2020-7779 Regular Expression Denial of Service (ReDoS)

Medium 5.3 Published Updated

Attackers can cause denial of service in applications using djvalidator by submitting crafted invalid email addresses that trigger excessive regex processing.

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

What is CVE-2020-7779?

CVE-2020-7779 is a medium-severity denial of service vulnerability in djvalidator, published on 26 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of package djvalidator are vulnerable to Regular Expression Denial of Service (ReDoS) by sending crafted invalid emails - for example, --@------------------------------------------------------------------------------------------------------------------------!.

Weakness: CWE-400

Which versions are affected by CVE-2020-7779?

2 open source packages ship an affected version, including djvalidator. It affects 1 product.

PackageAffectedFixed in
djvalidator npmAll versions to 1.1.1None
djvalidator npmAll versions to 1.1.1None

Products include Djvalidator Project Djvalidator.

How do I fix CVE-2020-7779?

No fix has been published for CVE-2020-7779 yet. Limit exposure of the affected software until one is available.

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-7779 being exploited?

There is no known exploitation of CVE-2020-7779 in the wild and no public exploit code.

Sources

Also known as GHSA-v6wh-2wvh-c8x5.

Is CVE-2020-7779 in your software?

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

Check your SBOMs for free