CVE-2021-27292

HIGH7.5EPSS 1.4%

Regular Expression Denial of Service (ReDoS) in ua-parser-js

Published: 5/6/2021Modified: 11/8/2023
Also known as:GHSA-78cj-fxph-m83p

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.

Affected packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (5)