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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-ua-parser-js | 0.7.23+ds-1 | DEBIAN-CVE-2020-7793 |
| Debian:13 | node-ua-parser-js | 0.7.23+ds-1 | DEBIAN-CVE-2020-7793 |
| Debian:14 | node-ua-parser-js | 0.7.23+ds-1 | DEBIAN-CVE-2020-7793 |
| npm | ua-parser-js | 0.7.23 | GHSA-394c-5j6w-4xmx |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | ua-parser-js | unspecified – before 0.7.23 |
References
- https://snyk.io/vuln/SNYK-JS-UAPARSERJS-1023599 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1050387 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBFAISALMAN-1050388 x_refsource_MISC
- https://github.com/faisalman/ua-parser-js/commit/6d1f26df051ba681463ef109d36c9cf0f7e32b18 x_refsource_MISC
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf x_refsource_CONFIRM