{"id":"GHSA-78cj-fxph-m83p","summary":"Regular Expression Denial of Service (ReDoS) in ua-parser-js","details":"ua-parser-js \u003e= 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.","aliases":["CVE-2021-27292"],"modified":"2023-11-01T04:54:54.453864Z","published":"2021-05-06T16:11:13Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-03-22T20:23:57Z","nvd_published_at":"2021-03-17T13:15:00Z","cwe_ids":["CWE-400"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27292"},{"type":"WEB","url":"https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"},{"type":"WEB","url":"https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76"}],"affected":[{"package":{"name":"ua-parser-js","ecosystem":"npm","purl":"pkg:npm/ua-parser-js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.7.14"},{"fixed":"0.7.24"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-78cj-fxph-m83p/GHSA-78cj-fxph-m83p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}