Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ua-Parser-Js Project | Ua-Parser-Js | >= 0.7.14, < 0.7.24 |
References
- https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76ExploitThird Party Advisory
- https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcfPatchThird Party Advisory
- https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e41827PatchThird Party Advisory
- https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76ExploitThird Party Advisory
- https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcfPatchThird Party Advisory
- https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e41827PatchThird Party Advisory
FAQ
What is CVE-2021-27292?
CVE-2021-27292 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2021-27292?
CVE-2021-27292 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-27292?
Check the references section above for vendor advisories and patch information. Affected products include: Ua-Parser-Js Project Ua-Parser-Js.