Vulnerability Details : CVE-2018-20164
An issue was discovered in regex.yaml (aka regexes.yaml) in UA-Parser UAP-Core before 0.6.0. A Regular Expression Denial of Service (ReDoS) issue allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to a value containing a long digit string. (The UAP-Core project contains the vulnerability, propagating to all implementations.)
Vulnerability category: Denial of service
Products affected by CVE-2018-20164
- cpe:2.3:a:uaparser:user_agent_parser-core:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-20164
0.65%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 79 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-20164
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
3.9
|
1.4
|
NIST |
CWE ids for CVE-2018-20164
-
The product specifies a regular expression in a way that causes data to be improperly matched or compared.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-20164
-
https://github.com/ua-parser/uap-core/commit/156f7e12b215bddbaf3df4514c399d683e6cdadc
Merge pull request #363 from commenthol/safe-regex · ua-parser/uap-core@156f7e1 · GitHubPatch;Third Party Advisory
-
https://github.com/ua-parser/uap-core/issues/332
Performance issue with backtracking caused by some regexes · Issue #332 · ua-parser/uap-core · GitHub
-
https://www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser/
Advisory X41-2018-009: DoS Vulnerability in UA-Parser | X41 D-SEC GmbHExploit;Third Party Advisory
-
https://github.com/ua-parser/uap-core/commit/010ccdc7303546cd22b9da687c29f4a996990014
0.6.0 · ua-parser/uap-core@010ccdc · GitHubPatch;Third Party Advisory
Jump to