ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to…
Priority LOW 39CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 5 fixed, 6 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
EPSS 0.03366 88th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial ua-parser-js (npm): 0.7.24Red Hat: 5 advisoriesRed Hat: 5 fixed, 6 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | ua-parser-js (npm) | 0.7.14 to before 0.7.24 | 0.7.24 | Patch available | GHSA-78cj-fxph-m83p |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- ua-parser-js (npm) Vendor— Affected 0.7.14 to before 0.7.24 Fixed in 0.7.24 Patch available GHSA-78cj-fxph-m83p
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:* | 0.7.14 to before 0.7.24 | Vulnerable | Ua-parser-js Project |
- cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:* Versions 0.7.14 to before 0.7.24 Vulnerable ·Ua-parser-js Project
Remediation
- Fix · GHSA-78cj-fxph-m83p ua-parser-js (npm) Fixed in 0.7.24 Advisory →
Red Hat 5 advisories
- RHSA-2022:0230 Released 2022-01-21 · Red Hat rating ModerateRed Hat OpenShift Enterprise Logging bug fix and security update (5.2.6)
- OpenShift Logging 5.2 openshift-logging/elasticsearch6-rhel8, openshift-logging/kibana6-rhel8
- RHSA-2022:0227 Released 2022-01-20 · Red Hat rating ModerateRed Hat OpenShift Enterprise Logging bug fix and security update (5.3.3)
- OpenShift Logging 5.3 openshift-logging/elasticsearch6-rhel8, openshift-logging/kibana6-rhel8
- RHSA-2022:0226 Released 2022-01-20 · Red Hat rating ModerateRed Hat OpenShift Enterprise Logging bug fix and security update (5.1.7)
- OpenShift Logging 5.1 openshift-logging/elasticsearch6-rhel8, openshift-logging/kibana6-rhel8
Show 2 more Red Hat advisories
- RHSA-2021:3024 Released 2021-08-09 · Red Hat rating LowRed Hat OpenShift Jaeger 1.24.0 Operator/Operand Containers security update
- Red Hat OpenShift Jaeger 1.24 distributed-tracing/jaeger-agent-rhel8, distributed-tracing/jaeger-all-in-one-rhel8, distributed-tracing/jaeger-collector-rhel8 +5
- RHSA-2021:2438 Released 2021-07-27 · Red Hat rating ModerateOpenShift Container Platform 4.8.2 bug fix and security update
- Red Hat OpenShift Container Platform 4.8 openshift4/driver-toolkit-rhel8, openshift4/egress-router-cni-rhel8, openshift4/network-tools-rhel8 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Service Mesh 2.0 | Affected | No fix yet |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
| Red Hat Ceph Storage 2 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| OpenShift Logging 5.1 | Fixed | RHSA-2022:0226 |
| OpenShift Logging 5.2 | Fixed | RHSA-2022:0230 |
| OpenShift Logging 5.3 | Fixed | RHSA-2022:0227 |
| Red Hat OpenShift Container Platform 4.8 | Fixed | RHSA-2021:2438 |
| Red Hat OpenShift Jaeger 1.24 | Fixed | RHSA-2021:3024 |
Not affected: 7 products
- OpenShift Logging 5.1
- OpenShift Logging 5.2
- OpenShift Logging 5.3
- Red Hat Ceph Storage 3
- Red Hat Ceph Storage 4
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4.8
Timeline
- 2026-10-02 Threatist record created from CVE-2021-27292
- 2026-10-03 Alias added: GHSA-78cj-fxph-m83p
References
Patch 2
More Ua-parser-js Project Ua-parser-js vulnerabilities
- TI-2022-09474 Regular expression denial of service in ua-parser-js CVSS 3.1HIGH 7.5
- TI-2026-35563 UAParser.js: Unbounded `Sec-CH-UA-Model` parsing can trigger ReDoS in `withClientHints()` CVSS 3.1MEDIUM 5.3
- TI-2021-03090 ua-parser-js Crypto Mining backdoor CVSS 3.1HIGH 8.8
- TI-2020-06309 Regular expression denial of service (ReDoS) in ua-parser-js CVSS 3.1HIGH 7.5
- TI-2020-06251 Regular expression denial of service (ReDoS) in ua-parser-js CVSS 3.1HIGH 7.5
Sources
- CVE-2021-27292 · CVE Program
- CVE-2021-27292 · NVD
- FIRST EPSS
- GHSA-78cj-fxph-m83p · GitHub Advisory Database · CC BY 4.0
- CVE-2021-27292 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences