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-1354 Vulnerability in npm package nodegit
CVE-2020-6463 Vulnerability in maven package org.webjars.npm:electron
CVE-2022-24615 Vulnerability in maven package net.lingala.zip4j:zip4j
CVE-2018-3719 Vulnerability in maven package org.webjars.npm:mixin-deep
CVE-2022-37734 Vulnerability in maven package com.graphql-java:graphql-java