| Name | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| node-ua-parser-js (PTS) | bullseye | 0.7.24+ds-1 | vulnerable |
| forky, sid, bookworm, trixie | 0.8.1+ds+~0.7.36-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| node-ua-parser-js | source | (unstable) | 0.8.1+ds+~0.7.36-3 |
[bullseye] - node-ua-parser-js <no-dsa> (Minor issue)
[buster] - node-ua-parser-js <postponed> (Minor issue, ReDoS)
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