Vulnerability · Published Dec 11, 2020 · Assigned by snyk

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

High 7.5

In plain English

A high-severity security flaw in ua-parser-js. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.9% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)3.9%top 9.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

The package ua-parser-js before 0.7.23 are vulnerable to Regular Expression Denial of Service (ReDoS) in multiple regexes (see linked commit for more info).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-ua-parser-js0.7.23+ds-1DEBIAN-CVE-2020-7793
Debian:13node-ua-parser-js0.7.23+ds-1DEBIAN-CVE-2020-7793
Debian:14node-ua-parser-js0.7.23+ds-1DEBIAN-CVE-2020-7793
npmua-parser-js0.7.23GHSA-394c-5j6w-4xmx

Affected products (as reported)

VendorProductVersions
n/a ua-parser-js unspecified – before 0.7.23

References