{"api_version":"1","generated_at":"2026-04-23T18:37:22+00:00","cve":"CVE-2022-25927","urls":{"html":"https://cve.report/CVE-2022-25927","api":"https://cve.report/api/cve/CVE-2022-25927.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25927","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25927"},"summary":{"title":"CVE-2022-25927","description":"Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to Regular Expression Denial of Service (ReDoS) via the trim() function.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2023-01-26 21:15:00","updated_at":"2023-11-07 03:44:00"},"problem_types":["CWE-1333"],"metrics":[],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450","name":"https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450","refsource":"MISC","tags":[],"title":"Regular Expression Denial of Service (ReDoS) in ua-parser-js | CVE-2022-25927 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411","name":"https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411","refsource":"MISC","tags":[],"title":"Remove unsafe regex in trim() function · faisalman/ua-parser-js@a6140a1 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25927","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25927","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"25927","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-2022-25927","qid":"183077","title":"Debian Security Update for node-ua-parser-js (CVE-2022-25927)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-25927","ASSIGNER":"report@snyk.io","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to Regular Expression Denial of Service (ReDoS) via the trim() function."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Regular Expression Denial of Service (ReDoS)","cweId":"CWE-1333"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"ua-parser-js","version":{"version_data":[{"version_value":"0.7.30","version_affected":"="},{"version_value":"0.8.1","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450","refsource":"MISC","name":"https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450"},{"url":"https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411","refsource":"MISC","name":"https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411"}]},"credits":[{"lang":"en","value":"Beau Harder"}],"impact":{"cvss":[{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P"}]}},"nvd":{"publishedDate":"2023-01-26 21:15:00","lastModifiedDate":"2023-11-07 03:44:00","problem_types":["CWE-1333"],"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}},"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.8.1","versionEndExcluding":"1.0.33","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*","versionStartIncluding":"0.7.30","versionEndExcluding":"0.7.33","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}