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-2021-3777 Vulnerability in npm package tmpl
CVE-2023-36542 Vulnerability in maven package org.apache.nifi:nifi-cdc-mysql-processors
CVE-2021-41097 Vulnerability in npm package aurelia-path
CVE-2023-0867 Vulnerability in maven package org.opennms:opennms-webapp
CVE-2010-2076 Vulnerability in maven package org.apache.cxf:cxf-common-utilities