CVE-2021-27292

nodejs-ua-parser-js: ReDoS via malicious User-Agent header

Published Mar 17, 2021 CVSS 3.1 · 7.5 High EPSS 3.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0991 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.
Github GHSA Github GHSA GHSA-78cj-fxph-m83p Regular Expression Denial of Service (ReDoS) in ua-parser-js
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 8:48 PM
Reserved
Feb 16, 2021, 12:00 AM
Status
Modified
Published
Mar 17, 2021, 1:15 PM
Modified
Jun 17, 2026, 3:44 AM
Severity
Moderate
Public date
Feb 11, 2021, 12:00 AM