logo

CVE-2021-27292 ua-parser-js

Package

Manager: npm
Name: ua-parser-js
Vulnerable Version: >=0.7.14 <0.7.24

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00356 pctl0.57082

Details

Regular Expression Denial of Service (ReDoS) in ua-parser-js 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.

Metadata

Created: 2021-05-06T16:11:13Z
Modified: 2021-03-24T23:33:16Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-78cj-fxph-m83p/GHSA-78cj-fxph-m83p.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-78cj-fxph-m83p
Finding: F002
Auto approve: 1