{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-25927","id":"CVE-2022-25927","title":"ReDoS Vulnerability in ua-parser-js version","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.\r\r","descriptionLong":"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","published":"2023-01-25T05:00:00.897Z","updated":"2026-10-28T02:30:25.005310971Z","reserved":"2022-02-24T11:58:25.175Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"snyk"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk.io"},{"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","rating":"high","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"OSV"},{"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","rating":"high","source":"GitHub"}],"rating":"medium","products":["ua-parser-js"],"affectedProducts":[{"vendor":"n/a","product":"ua-parser-js","defaultStatus":null,"versions":[{"version":"0.7.30","lessThan":"0.7.33","status":"affected","versionType":"semver"},{"version":"0.8.1","lessThan":"1.0.33","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"ua-parser-js","purl":"pkg:npm/ua-parser-js","ranges":[">=0.7.30 <0.7.33",">=0.8.0 <1.0.33"],"fixed":["0.7.33","1.0.33"],"advisory":"GHSA-fhg7-m89q-25r3"}],"cwes":["CWE-1333","CWE-400"],"aliases":["GHSA-fhg7-m89q-25r3"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25927.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25927","tags":["advisory"]},{"url":"https://github.com/faisalman/ua-parser-js/security/advisories/GHSA-fhg7-m89q-25r3","tags":["web"]},{"url":"https://github.com/faisalman/ua-parser-js","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.01774,"epssPercentile":0.7867,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-25927","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25927","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-25927","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fhg7-m89q-25r3","ok":true,"note":"GHSA-fhg7-m89q-25r3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-25927","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}