VulnerabilityModified
CVE-2021-27292
ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service.
HIGH 7.5EPSS 3.37%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.37%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 3.37% probability · 88th percentile
- CISA KEV
- Not listed
- Affected
- ua-parser-js project/ua-parser-js
- Source
- cve@mitre.org
References
- https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76Exploit, Third Party Advisory
- https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566Patch, Third Party Advisory
- https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14Patch, Third Party Advisory
- https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76Exploit, Third Party Advisory
- https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566Patch, Third Party Advisory
- https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.