CVE-2018-20164
Uaparser User Agent Parser-core vulnerability
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.)
Affected products
User Agent Parser-core. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Uaparser User Agent Parser-core runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ua-parser/uap-core/commit/010ccdc7303546cd22b9da687c29f4a996990014 · Patch
- github.com/ua-parser/uap-core/commit/156f7e12b215bddbaf3df4514c399d683e6cdadc · Patch
- www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser/ · Exploit
- github.com/ua-parser/uap-core/issues/332
- nvd.nist.gov/vuln/detail/CVE-2018-20164
- cve.org/CVERecord?id=CVE-2018-20164
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.