{"id":"CVE-2021-27292","aliases":["GHSA-78cj-fxph-m83p"],"url":"https://o3.security/vulnerability/CVE-2021-27292","summary":"Regular Expression Denial of Service (ReDoS) in ua-parser-js","details":"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.","published":"2021-03-17T13:15:15.200Z","modified":"2026-08-07T15:15:33.509156Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"ua-parser-js","fixedVersion":"0.7.24"}],"fix":{"url":"https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566","label":"faisalman/ua-parser-js@809439e"},"references":[{"type":"FIX","url":"https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566"},{"type":"FIX","url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"},{"type":"EVIDENCE","url":"https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T15:15:33.509156Z"}}