CVE-2021-21317
CVSS V2 Medium 5
CVSS V3 Medium 5.3
Description
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.
Overview
- CVE ID
- CVE-2021-21317
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-02-16T18:15:12
- Last Modified Date
- 2021-02-26T14:26:49
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:uap-core_project:uap-core:*:*:*:*:*:node.js:*:* | 1 | OR | 0.11.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- LOW
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4 | Third Party Advisory |
https://www.npmjs.com/package/uap-core | Product Third Party Advisory |
https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21317 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21317 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:21:35 | Added to TrackCVE | |||
2022-12-05 22:11:50 | 2021-02-16T18:15Z | 2021-02-16T18:15:12 | CVE Published Date | updated |
2022-12-05 22:11:50 | 2021-02-26T14:26:49 | CVE Modified Date | updated | |
2022-12-05 22:11:50 | Analyzed | Vulnerability Status | updated |