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.
{ "binaries": [ { "binary_version": "0.7.14-1", "binary_name": "node-ua-parser-js" } ] }
{ "binaries": [ { "binary_version": "0.7.31+ds+~0.7.36-1", "binary_name": "node-ua-parser-js" } ] }
{ "binaries": [ { "binary_version": "0.8.1+ds+~0.7.36-3", "binary_name": "node-ua-parser-js" } ] }