Skip to content

CVE-2022-25927 ReDoS Vulnerability in ua-parser-js version

HighCVSS 7.5 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
npm ua-parser-js(npm) >= 0.8.0, < 1.0.33 1.0.33
npm ua-parser-js(npm) >= 0.7.30, < 0.7.33 0.7.33
ubuntu/node-ua-parser-js(Ubuntu:22.04) All versions No fix listed
ua-parser-js project ua-parser-js >= 0.7.30, < 0.7.33 0.7.33
ua-parser-js project ua-parser-js >= 0.8.1, < 1.0.33 1.0.33
ubuntu/node-ua-parser-js(Ubuntu:24.04) All versions No fix listed
ubuntu/node-ua-parser-js(Ubuntu:26.04) All versions No fix listed
ubuntu/node-ua-parser-js(Ubuntu:26.10) All versions No fix listed
debian/node-ua-parser-js(Debian:12) < 0.8.1+ds+~0.7.36-3 0.8.1+ds+~0.7.36-3
debian/node-ua-parser-js(Debian:14) < 0.8.1+ds+~0.7.36-3 0.8.1+ds+~0.7.36-3
debian/node-ua-parser-js(Debian:13) < 0.8.1+ds+~0.7.36-3 0.8.1+ds+~0.7.36-3

References