Vulnerabilities/

Regular Expression Denial of Service (ReDoS) in ua-parser-js

Severity:
High

Description

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.

Recommendation

Update the ua-parser-js package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
ua-parser-js
Anything's wrong? Let us know Last updated on February 01, 2023

This issue is available in SmartScanner Professional

See Pricing