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

High 7.5 Published Updated

Attackers can cause denial of service in applications using ua-parser-js by sending specially crafted user agent strings.

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-7733?

CVE-2020-7733 is a high-severity denial of service vulnerability in ua-parser-js, published on 16 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The package ua-parser-js before 0.7.22 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex for Redmi Phones and Mi Pad Tablets UA.

Weakness: CWE-400

Which versions are affected by CVE-2020-7733?

2 open source packages ship an affected version, including ua-parser-js. It affects 2 products.

PackageAffectedFixed in
ua-parser-js npmAll versions0.7.22
ua-parser-js npmAll versions0.7.22

Products include Oracle Communications Cloud Native Core Network Function Cloud Native Environment, Ua-Parser-Js Project Ua-Parser-Js.

How do I fix CVE-2020-7733?

Upgrade ua-parser-js to 0.7.22 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-7733 being exploited?

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

Sources

Also known as GHSA-662x-fhqg-9p8v, UBUNTU-CVE-2020-7733.

Is CVE-2020-7733 in your software?

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

Check your SBOMs for free