{"id":"CVE-2021-27292","aliases":["CLSA-2026-1774311649","CLSA-2026-1784596325","DEBIAN-CVE-2021-27292","EUVD-2021-0991","GHSA-78cj-fxph-m83p","UBUNTU-CVE-2021-27292"],"status":"published","title":"Regular Expression Denial of Service (ReDoS) in ua-parser-js","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.03366,"percentile":0.88913,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2021-03-17T12:34:48Z","modified":"2026-10-23T18:02:57Z","fixes":[{"ecosystem":"npm","package":"ua-parser-js","fixed_in":["0.7.24"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"node-ua-parser-js","fixed_in":["0.7.24+ds-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-ua-parser-js","fixed_in":["0.7.24+ds-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-ua-parser-js","fixed_in":["0.7.24+ds-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"ua-parser-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.14"},{"fixed":"0.7.24"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"ua-parser-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.21-tuxcare.0"},{"fixed":"0.7.21-tuxcare.1"}]}],"versions":["0.7.21"],"bundled":3},{"source":"osv","ecosystem":"TuxCare:npm","package":"ua-parser-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.22-tuxcare.0"},{"fixed":"0.7.22-tuxcare.1"}]}],"versions":["0.7.22"],"bundled":2},{"source":"osv","ecosystem":"Debian:12","package":"node-ua-parser-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.24+ds-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-ua-parser-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.24+ds-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-ua-parser-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.24+ds-1"}]}]},{"source":"osv","ecosystem":"npm","package":"ua-parser-js","ranges":[{"type":"SEMVER","events":[{"introduced":"0.7.14"},{"fixed":"0.7.24"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-ua-parser-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.14-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-ua-parser-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.14-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"node-ua-parser-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.24+ds-1","0.7.24+ds-2","0.7.31+ds+~0.7.36-1"]}],"products":[{"vendor":"ua-parser-js_project","product":"ua-parser-js"}],"references":[{"url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27292","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-78cj-fxph-m83p"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-27292","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-27292","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-27292","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-27292","description":"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.","status":"published","published":"2021-03-17T12:34:48Z","modified":"2024-08-03T20:48:16.474Z","updated_at":"2026-11-02T14:33:04.679189Z"}],"euvd":[{"id":"EUVD-2021-0991","description":"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.","status":"published","published":"2021-03-17T12:34:48Z","modified":"2024-08-03T20:48:16Z","updated_at":"2026-11-03T03:24:49.808499Z"}],"ghsa":[{"id":"GHSA-78cj-fxph-m83p","title":"Regular Expression Denial of Service (ReDoS) in ua-parser-js","description":"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.","status":"published","published":"2021-05-06T16:11:13Z","modified":"2023-02-01T05:05:18Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:36:33.613868Z"}],"nvd":[{"id":"CVE-2021-27292","description":"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.","status":"published","published":"2021-03-17T13:15:15.2Z","modified":"2026-06-17T03:44:37.44Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:06:50.805771Z"}],"osv":[{"id":"CVE-2021-27292","description":"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.","status":"published","published":"2021-03-17T13:15:15.2Z","modified":"2026-10-20T10:54:35.503024954Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"DEBIAN-CVE-2021-27292","description":"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.","status":"published","published":"2021-03-17T13:15:15.2Z","modified":"2026-10-23T18:02:57.726685282Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.94143Z"},{"id":"GHSA-78cj-fxph-m83p","title":"Regular Expression Denial of Service (ReDoS) in ua-parser-js","description":"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.","status":"published","published":"2021-05-06T16:11:13Z","modified":"2023-11-08T04:05:24.127561Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:40.657155Z"},{"id":"UBUNTU-CVE-2021-27292","description":"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.","status":"published","published":"2021-03-17T13:15:00Z","modified":"2025-10-24T04:50:11Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:26.779273Z"},{"id":"CLSA-2026-1774311649","title":"TuxCare security update for ua-parser-js (3 CVEs)","description":"TuxCare rebuilt ua-parser-js to address 3 CVEs. Fixed in 0.7.21-tuxcare.1.","status":"published","published":"2026-08-04T14:52:14Z","modified":"2026-10-15T09:47:05.280926668Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1784596325","title":"TuxCare security update for ua-parser-js (2 CVEs)","description":"TuxCare rebuilt ua-parser-js to address 2 CVEs. Fixed in 0.7.22-tuxcare.1.","status":"published","published":"2026-08-04T14:52:45Z","modified":"2026-10-15T09:47:36.236812243Z","updated_at":"2026-11-02T15:43:46.482572Z"}]}}
