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 (hide)

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

History

08 Feb 2024, 20:29

Type Values Removed Values Added
CWE CWE-1333
References () https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c - Patch, Third Party Advisory () https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c - Patch

26 Feb 2021, 14:26

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 5.3
CPE cpe:2.3:a:uap-core_project:uap-core:*:*:*:*:*:node.js:*:*
References (MISC) https://www.npmjs.com/package/uap-core - (MISC) https://www.npmjs.com/package/uap-core - Product, Third Party Advisory
References (MISC) https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c - (MISC) https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c - Patch, Third Party Advisory
References (CONFIRM) https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4 - (CONFIRM) https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4 - Third Party Advisory

16 Feb 2021, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-02-16 18:15

Updated : 2024-02-08 20:29


NVD link : CVE-2021-21317

Mitre link : CVE-2021-21317

CVE.ORG link : CVE-2021-21317


JSON object : View

Products Affected

uap-core_project

  • uap-core
CWE
CWE-1333 CWE-400

Uncontrolled Resource Consumption