Description
An issue was discovered in regex.yaml (aka regexes.yaml) in UA-Parser UAP-Core before 0.6.0. A Regular Expression Denial of Service (ReDoS) issue allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to a value containing a long digit string. (The UAP-Core project contains the vulnerability, propagating to all implementations.)
Remediation
References
https://github.com/ua-parser/uap-core/commit/010ccdc7303546cd22b9da687c29f4a996990014
https://github.com/ua-parser/uap-core/commit/156f7e12b215bddbaf3df4514c399d683e6cdadc
https://github.com/ua-parser/uap-core/issues/332
https://www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser/
Related Vulnerabilities
CVE-2020-6422 Vulnerability in maven package org.webjars.npm:electron
CVE-2013-6447 Vulnerability in maven package org.jboss.seam:jboss-seam-remoting
CVE-2021-25122 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2022-25758 Vulnerability in npm package scss-tokenizer
CVE-2016-10703 Vulnerability in maven package org.webjars.npm:ecstatic