Denial of Service in uap-core when processing crafted User-Agent strings
Published: March 10, 2020
SECURITY IDENTIFIERS
- CVE: CVE-2020-5243 (NVD)
- GHSA: GHSA-pcqq-5962-hvcw
- Vendor Advisory: https://github.com/ua-parser/uap-ruby/security/advisories/GHSA-pcqq-5962-hvcw
GEM
SEVERITY
CVSS v3.x: 5.7 (Medium)
PATCHED VERSIONS
>= 2.6.0
DESCRIPTION
Impact
Some regexes are vulnerable to regular expression denial of service (REDoS) due to overlapping capture groups. This allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to maliciously crafted long strings.
Patches
Please update uap-ruby to >= v2.6.0
For more information
https://github.com/ua-parser/uap-core/security/advisories/GHSA-cmcx-xhr8-3w9p
