Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:39002
HistoryJan 25, 2023 - 3:43 a.m.

Regular Expression Denial Of Service (ReDoS)

2023-01-2503:43:06
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
34
ua-parser-js
redos vulnerability
insecure regex pattern
trim function
software
maliciously crafted string

EPSS

0.001

Percentile

38.4%

ua-parser-js is vulnerable to Regular Expression Denial Of Service (ReDoS). The vulnerability exists due to an insecure Regex pattern used for the str attribute in the trim function of ua-parser.js, which allows an attacker to crash the application by providing a maliciously crafted string.