Ubuntu CVE Tracker
UBUNTU-CVE-2022-25927
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:18.04:LTS | node-ua-parser-js | All versions, no fix listed |
| Ubuntu:20.04:LTS | node-ua-parser-js | All versions, no fix listed |
| Ubuntu:22.04:LTS | node-ua-parser-js | All versions, no fix listed |
| Ubuntu:24.04:LTS | node-ua-parser-js | All versions, no fix listed |
| Ubuntu:25.10 | node-ua-parser-js | All versions, no fix listed |
| Ubuntu:26.10 | node-ua-parser-js | All versions, no fix listed |
| Ubuntu:26.04:LTS | node-ua-parser-js | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2022-25927
- https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411
- https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450
- https://github.com/faisalman/ua-parser-js/security/advisories/GHSA-fhg7-m89q-25r3
- https://www.cve.org/CVERecord?id=CVE-2022-25927