CVE-2018-20164
MEDIUM 5.3CVSS 3.0uap-core Regular Expression Denial of Service issue
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.)
- Published
- 13 Feb 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-185
- Also known as
- GHSA-fx7m-j728-mjw3
- Sources
- NVDJSONOSV GHSA-fx7m-j728-mjw3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | uaparser | user_agent_parser-corecpe:2.3:a:uaparser:user_agent_parser-core:*:*:*:*:*:*:*:* |
< 0.6.0 | 0.6.0 |
| OSV | npm | uap-core | < 0.6.0 | 0.6.0 |
References
- https://github.com/ua-parser/uap-core/commit/010ccdc7303546cd22b9da687c29f4a996990014 · Patch, Third Party Advisory, WEB
- https://github.com/ua-parser/uap-core/commit/156f7e12b215bddbaf3df4514c399d683e6cdadc · Patch, Third Party Advisory, WEB
- https://github.com/ua-parser/uap-core/issues/332 · WEB
- https://www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-20164 · ADVISORY
- https://github.com/ua-parser/uap-core · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 13 Feb 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Mar 2019)