GitHub Advisoryadvisory · npm
GHSA-fx7m-j728-mjw3 uap-core Regular Expression Denial of Service issue
MEDIUM
Official page ↗
- Aliases
- CVE-2018-20164
- Ecosystem
- npm
- Packages
- uap-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-185
- Reviewed
- 2020-06-16
Affected packages
• npm uap-core: < 0.6.0 → fixed in 0.6.0
Description
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.)
Related
Alias · CVE (1)
- CVE-2018-20164 An issue was discovered in regex.yaml (aka regexes.yaml) in UA-Parser UAP-Core before 0.6.0. vulnerability
Weakness · CWE (1)
- CWE-185 Incorrect Regular Expression weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-20164 advisory
- https://github.com/ua-parser/uap-core/issues/332 web
- https://github.com/ua-parser/uap-core/commit/010ccdc7303546cd22b9da687c29f4a996990014 web
- https://github.com/ua-parser/uap-core/commit/156f7e12b215bddbaf3df4514c399d683e6cdadc web
- https://github.com/ua-parser/uap-core package
- https://www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser web