CVE-2021-27292
CVE-2021-27292 is a high-severity vulnerability in Ua-parser-js Project Ua-parser-js with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 3% (87th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Ua-parser-js Project Ua-parser-js
- Published:
- Last modified:
Description
ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.
Frequently asked questions
- What is CVE-2021-27292?
- ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.
- How severe is CVE-2021-27292?
- CVE-2021-27292 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-27292 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-27292?
- CVE-2021-27292 affects Ua-parser-js Project Ua-parser-js. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-27292?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-27292 published?
- CVE-2021-27292 was published on 2021-03-17 and last updated on 2026-06-17.
References
- https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76
- https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566
- https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14
Affected products (1)
- cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*
More vulnerabilities in Ua-parser-js Project Ua-parser-js
- CVE-2020-7793 — High (CVSS 7.5): The package ua-parser-js before 0.7.23 are vulnerable to Regular Expression Denial of Service (ReDoS) in multiple…
- CVE-2020-7733 — High (CVSS 7.5): The package ua-parser-js before 0.7.22 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex for…
- CVE-2022-25927 — Medium (CVSS 5.3): Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to…
- CVE-2021-4229 — Medium (CVSS 5.0): A vulnerability was found in ua-parser-js 0.7.29/0.8.0/1.0.0. It has been rated as critical. This issue affects the…