{"id":"CVE-2022-25927","published":"2023-01-25T05:00:00Z","modified":"2025-04-01T18:28:37Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\r\r","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01774,"percentile":0.78739,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450","tags":[]},{"url":"https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411","tags":[]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":15.75},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"ua-parser-js","versions":[">= 0.7.30, < 0.7.33",">= 0.8.1, < 1.0.33"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-01T18:27:15.804522Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ua-parser-js","vulnerableRanges":[">=0.7.30, <0.7.33",">=0.8.0, <1.0.33"],"patched":["0.7.33","1.0.33"],"from":["GHSA-fhg7-m89q-25r3"],"provenance":"source"}],"summary":{"text":"The ua-parser-js npm package, in versions from 0.7.30 before 0.7.33 and from 0.8.1 before 1.0.33, contains a Regular Expression Denial of Service flaw in its trim() function caused by inefficient regular expression complexity. An attacker with network access and no authentication or user interaction can trigger the flaw to degrade availability of the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:59Z"},"euvd":{"id":"EUVD-2023-0457","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-7793","published":"2020-12-11","fixed":"0.7.23","kev":false},{"cve":"CVE-2021-27292","published":"2021-03-17","fixed":"0.7.24","kev":false},{"cve":"CVE-2021-4229","published":"2022-05-24","fixed":"1.0.1","kev":false,"link":{"from":"CVE-2021-4229","to":"CVE-2022-25927","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ua-parser-js","fromFixed":"0.7.30","toFixed":"0.7.33","daysApart":246},{"kind":"version-step","provenance":"source","package":"npm:ua-parser-js","fromFixed":"1.0.1","toFixed":"1.0.33","daysApart":246}]}},{"cve":"CVE-2022-25927","published":"2023-01-25","fixed":"1.0.33","kev":false},{"cve":"CVE-2026-48125","published":"2026-07-14","fixed":"2.0.10","kev":false}],"package":"npm:ua-parser-js"}}