{"id":"UBUNTU-CVE-2021-27292","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.","modified":"2025-10-24T04:50:11Z","published":"2021-03-17T13:15:00Z","upstream":["CVE-2021-27292"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-27292"},{"type":"REPORT","url":"https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76"},{"type":"REPORT","url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-27292"}],"affected":[{"package":{"name":"node-ua-parser-js","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-ua-parser-js@0.7.14-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.14-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-ua-parser-js","binary_version":"0.7.14-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-27292.json"}},{"package":{"name":"node-ua-parser-js","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-ua-parser-js@0.7.14-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.14-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-ua-parser-js","binary_version":"0.7.14-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-27292.json"}},{"package":{"name":"node-ua-parser-js","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-ua-parser-js@0.7.31+ds+~0.7.36-1?arch=source&distro=jammy"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"node-ua-parser-js","binary_version":"0.7.31+ds+~0.7.36-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-27292.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}