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.
Remediation
References
https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411
https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450
Related Vulnerabilities
CVE-2019-10241 Vulnerability in maven package org.eclipse.jetty.aggregate:jetty-all-server
CVE-2022-23510 Vulnerability in npm package @cubejs-backend/api-gateway
CVE-2022-37435 Vulnerability in maven package org.apache.shenyu:shenyu-admin
CVE-2015-3253 Vulnerability in maven package org.codehaus.groovy:groovy-all
CVE-2021-21181 Vulnerability in maven package org.webjars.npm:electron