# CVE-2021-27292

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 0.7.24 (CNA); fix release not confirmed
- Status: published
- Published: 2021-03-17 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-27292, DEBIAN-CVE-2021-27292, GHSA-78cj-fxph-m83p
- Record: https://cvemate.com/vulnerability/CVE-2021-27292 · JSON: https://cvemate.com/vulnerability/CVE-2021-27292/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 3.366%, percentile 89.135%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian node-ua-parser-js (Debian): \< 0.7.24+ds-1
- ubuntu node-ua-parser-js (Ubuntu): All versions (No fix recorded)
- Npm ua-parser-js (Npm): ≥ 0.7.14, \< 0.7.24
- ua-parser-js\_project ua-parser-js: ≥ 0.7.14, \< 0.7.24

## References

- <https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14>
- <https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76>
- <https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566>
- <https://ubuntu.com/security/CVE-2021-27292>
- <https://www.cve.org/CVERecord?id=CVE-2021-27292>
- <https://security-tracker.debian.org/tracker/CVE-2021-27292>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27292>

---

Data as of 2026-12-05T19:09:45.209Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
