{"api_version":"1","generated_at":"2026-04-23T16:55:50+00:00","cve":"CVE-2021-27292","urls":{"html":"https://cve.report/CVE-2021-27292","api":"https://cve.report/api/cve/CVE-2021-27292.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-27292","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-27292"},"summary":{"title":"CVE-2021-27292","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-03-17 13:15:00","updated_at":"2021-03-23 20:21:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76","name":"https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76","refsource":"MISC","tags":[],"title":"cve-2021-27292 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14","name":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14","refsource":"MISC","tags":[],"title":"Fix several exponential/cubic complexity regexes found by Ben Caller/… · pygments/pygments@2e7e8c4 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566","name":"https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566","refsource":"MISC","tags":[],"title":"Fix potential ReDoS vulnerability as reported by Doyensec · faisalman/ua-parser-js@809439e · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-27292","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27292","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"27292","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ua-parser-js_project","cpe5":"ua-parser-js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-27292","qid":"179911","title":"Debian Security Update for node-ua-parser-js (CVE-2021-27292)"},{"cve":"CVE-2021-27292","qid":"378599","title":"Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)"},{"cve":"CVE-2021-27292","qid":"982672","title":"Nodejs (npm) Security Update for ua-parser-js (GHSA-78cj-fxph-m83p)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-27292","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14","url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"},{"refsource":"MISC","name":"https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76","url":"https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76"},{"refsource":"MISC","name":"https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566","url":"https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566"}]}},"nvd":{"publishedDate":"2021-03-17 13:15:00","lastModifiedDate":"2021-03-23 20:21:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*","versionStartIncluding":"0.7.14","versionEndExcluding":"0.7.24","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"27292","Ordinal":"202383","Title":"CVE-2021-27292","CVE":"CVE-2021-27292","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"27292","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"27292","Ordinal":"2","NoteData":"2021-03-17","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"27292","Ordinal":"3","NoteData":"2021-03-18","Type":"Other","Title":"Modified"}]}}}