uap-core@0.7.2 vulnerabilities

The regex file necessary to build language ports of Browserscope's user agent parser.

  • latest version

    0.18.0

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the uap-core package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

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

    uap-core is a contains the core of BrowserScope's original user agent string parser: data collected over the years.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). Some regexes used in this module are vulnerable to ReDoS due to overlapping capture groups. This allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to maliciously crafted long strings.

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

    Upgrade uap-core to version 0.11.0 or higher.

    <0.11.0
    • H
    Regular Expression Denial of Service (ReDoS)

    uap-core is a contains the core of BrowserScope's original user agent string parser: data collected over the years.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) when processing crafted User-Agent strings.

    This allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to maliciously crafted long strings.

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

    Upgrade uap-core to version 0.7.3 or higher.

    <0.7.3