Inefficient Regular Expression Complexity in org.webjars.bowergithub.faisalman:ua-parser-js
CVE-2022-25927
- org.webjars.bowergithub.faisalman:ua-parser-js
- org.webjars.npm:ua-parser-js
- ua-parser-js
Summary
Versions of the package ua-parser-js 0.7.30 through 0.7.32, and 0.8.1 through 1.0.32 are vulnerable to Regular Expression Denial of Service (ReDoS) via the "trim()" function.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-1333 - Inefficient Regular Expression Complexity
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
References
Advisory Timeline
- Published