CVE-2021-21317

uap-core in an open-source npm package which contains the core of BrowserScope's original user agent string parser. In uap-core before version 0.11.0, some regexes are vulnerable to regular expression denial of service (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. This is fixed in version 0.11.0. Downstream packages such as uap-python, uap-ruby etc which depend upon uap-core follow different version schemes.
Configurations

Configuration 1

cpe:2.3:a:uap-core_project:uap-core:*:*:*:*:*:node.js:*:*

Information

Published : 2021-02-16 06:15

Updated : 2021-02-26 02:26


NVD link : CVE-2021-21317

Mitre link : CVE-2021-21317

Products Affected
No products.
CWE
CWE-1333

Inefficient Regular Expression Complexity