cve.bz

CVE-2021-27292 ua-parser-js project ua-parser-js

7.5 highExploit referenceEPSS 3.4%Fix available

High (7.5) in ua-parser-js project ua-parser-js. EPSS 3.4% estimated probability of exploitation activity in the next 30 days. Fixed in ua-parser-js 0.7.24.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.4% (unchanged from 3.4% a week ago; 3.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-27292 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-27292?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-27292?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-27292 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ua-parser-js_project:ua-parser-jsfrom 0.7.14 before 0.7.24

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-78cj-fxph-m83pnpmua-parser-js>=0.7.14 <0.7.240.7.24

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-ua-parser-js0.7.24+ds-1DEBIAN-CVE-2021-27292
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSnode-ua-parser-jsno fix listedUBUNTU-CVE-2021-27292

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

While some components do package a vulnerable version of ua-parser-js, access to them requires OpenShift OAuth credentials and hence have been marked with a Low impact. This applies to the following products:

- OpenShift Container Platform (OCP)

- OpenShift ServiceMesh (OSSM)

- Red Hat OpenShift Jaeger (RHOSJ)

- Red Hat OpenShift Logging

The OCP presto-container does ship the vulnerable component, however since OCP 4.6 the Metering product has been deprecated [1], set as wont-fix and may be fixed in a future release.

Red Hat Advanced Cluster Management for Kubernetes (RHACM) ships graphql-tools that pulls 0.7.23 version of ua-parser-js that uses the affected code.

[1] - https://access.redhat.com/solutions/5707561

ProductPackageStateAdvisory
OpenShift Logging 5.1openshift-logging/kibana6-rhel8:v6.8.1-108Fixed 2022-01-20RHSA-2022:0226
OpenShift Logging 5.2openshift-logging/kibana6-rhel8:v6.8.1-110Fixed 2022-01-21RHSA-2022:0230
OpenShift Logging 5.3openshift-logging/kibana6-rhel8:v6.8.1-109Fixed 2022-01-20RHSA-2022:0227
Red Hat OpenShift Container Platform 4.8openshift4/ose-console:v4.8.0-202107010336.p0.git.188a490.assembly.streamFixed 2021-07-27RHSA-2021:2438
Red Hat OpenShift Jaeger 1.24distributed-tracing/jaeger-agent-rhel8:1.24.0-9Fixed 2021-08-09RHSA-2021:3024
Red Hat OpenShift Jaeger 1.24distributed-tracing/jaeger-all-in-one-rhel8:1.24.0-8Fixed 2021-08-09RHSA-2021:3024
Red Hat OpenShift Jaeger 1.24distributed-tracing/jaeger-collector-rhel8:1.24.0-8Fixed 2021-08-09RHSA-2021:3024
Red Hat OpenShift Jaeger 1.24distributed-tracing/jaeger-es-index-cleaner-rhel8:1.24.0-10Fixed 2021-08-09RHSA-2021:3024
Red Hat OpenShift Jaeger 1.24distributed-tracing/jaeger-es-rollover-rhel8:1.24.0-14Fixed 2021-08-09RHSA-2021:3024
Red Hat OpenShift Jaeger 1.24distributed-tracing/jaeger-ingester-rhel8:1.24.0-8Fixed 2021-08-09RHSA-2021:3024
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
OpenShift Service Mesh 2.0servicemesh-prometheusAffected
Red Hat Advanced Cluster Management for Kubernetes 2nodejs-ua-parser-jsAffected
Red Hat Ceph Storage 2grafanaOut of support scope
Red Hat Ceph Storage 3grafanaNot affected
Red Hat Ceph Storage 3grafana-containerNot affected
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Not affected
Red Hat OpenShift Container Platform 3.11kibanaFix deferred
Red Hat OpenShift Container Platform 3.11openshift3/grafanaNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaFix deferred
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-27292.

References

Check your stackJSON