5.3med
CVE-2018-20164
uap-core Regular Expression Denial of Service issue
Also known as GHSA-fx7m-j728-mjw3
Published 7 y ago · modified 4 mo ago · JSON
CVSS
5.3
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.3%
percentile 89%
Public exploits
0
none known
Summary
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.)
Exploit prediction (EPSS)
3.30% probability of exploitation in the next 30 days, higher than 89% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | uap-core | <0.6.0 | 0.6.0 |
Classification
- Weakness
- CWE-185 Incorrect Regular Expression
References
- github.com /ua-parser/uap-core/commit/010ccdc7303546cd22b9da687c29f4a996990014 · x_refsource_MISC, x_transferred
- github.com /ua-parser/uap-core/commit/156f7e12b215bddbaf3df4514c399d683e6cdadc · x_refsource_MISC, x_transferred
- x41-dsec.de /lab/advisories/x41-2018-009-uaparser/ · x_refsource_MISC, x_transferred
- github.com /ua-parser/uap-core/issues/332 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2018-20164 · advisory
- github.com /ua-parser/uap-core · package
- x41-dsec.de /lab/advisories/x41-2018-009-uaparser · web
Sources
- CVE List: CVE-2018-20164
- GitHub Advisory: GHSA-fx7m-j728-mjw3
- NVD: CVE-2018-20164
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.