org.mvnpm:ua-parser-js@2.0.9

  • latest version

    2.0.10

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    6 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:ua-parser-js package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Regular Expression Denial of Service (ReDoS)

    org.mvnpm:ua-parser-js is a lightweight JavaScript-based user-agent string parser.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the withClientHints() function. An attacker can cause excessive CPU consumption by sending a specially crafted Sec-CH-UA-Model header containing a very large input, leading to significant processing delays due to inefficient regular expression handling.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade org.mvnpm:ua-parser-js to version 2.0.10 or higher.

    [2.0.9,2.0.10)