ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.
{ "binaries": [ { "binary_name": "node-ua-parser-js", "binary_version": "0.7.14-1" } ] }
{ "binaries": [ { "binary_name": "node-ua-parser-js", "binary_version": "0.7.31+ds+~0.7.36-1" } ] }