CVE-2021-27292
Regular Expression Denial of Service (ReDoS) in ua-parser-js
7.5
HIGH
CVSS 3.1
EPSS 1.4%
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.
How to fix CVE-2021-27292
To remediate CVE-2021-27292, upgrade the affected package to a fixed version below.
- Debian/node-ua-parser-js—upgrade to 0.7.24+ds-1 or later
- —upgrade to 0.7.24 or later
Is CVE-2021-27292 being exploited?
Low — EPSS is 1.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.7.24+ds-1
- >= 0.7.14, < 0.7.24
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |