Vulnerability · Published Sep 16, 2020 · Assigned by snyk

CVE-2020-7733Regular 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 4.5% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)4.5%top 8.5% 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.22 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex for Redmi Phones and Mi Pad Tablets UA.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSnode-ua-parser-jsno fix listedUBUNTU-CVE-2020-7733
Ubuntu:24.04:LTSnode-ua-parser-jsno fix listedUBUNTU-CVE-2020-7733
Ubuntu:25.10node-ua-parser-jsno fix listedUBUNTU-CVE-2020-7733
Ubuntu:26.04:LTSnode-ua-parser-jsno fix listedUBUNTU-CVE-2020-7733
Ubuntu:26.10node-ua-parser-jsno fix listedUBUNTU-CVE-2020-7733
npmua-parser-js0.7.22GHSA-662x-fhqg-9p8v

Affected products (as reported)

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

References