GHSA-662x-fhqg-9p8v
Regular Expression Denial of Service in ua-parser-js
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | ua-parser-js | < 0.7.22 | 0.7.22 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-7733
- https://github.com/faisalman/ua-parser-js/commit/233d3bae22a795153a7e6638887ce159c63e557d
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBFAISALMAN-674666
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-674665
- https://snyk.io/vuln/SNYK-JS-UAPARSERJS-610226
- https://www.oracle.com//security-alerts/cpujul2021.html