uap-core@0.6.4 vulnerabilities

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

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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