CVE-2022-25927

NameCVE-2022-25927
DescriptionVersions 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-ua-parser-js (PTS)buster0.7.14-1vulnerable
bullseye0.7.24+ds-1vulnerable
sid, trixie, bookworm0.8.1+ds+~0.7.36-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-ua-parser-jssource(unstable)0.8.1+ds+~0.7.36-3

Notes

[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

Search for package or bug name: Reporting problems