CVE-2020-5243
Denial of Service in uap-core when processing crafted User-Agent strings
Reported by github_m · Published February 20, 2020
user_agent_parser is fixed in 2.6.0 and 0.7.3 (RubyGems)
uap-core before 0.7.3 is vulnerable to a denial of service attack when processing crafted User-Agent strings. 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. This has been patched in uap-core 0.7.3.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| user_agent_parser | RubyGems | 2.6.0, 0.7.3 |
| uap-core | npm | 0.7.3 |
| uap-core | uap-core_project | 0.7.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ua-parser | uap-core | < 0.7.3 |
| RubyGems | user_agent_parser | 0 |
| npm | uap-core | 0 |
| ua-parser | uap-core | 0 |
Timeline
- Feb 20, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Aug 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-5243
vulnetix vdb fixes CVE-2020-5243
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-5243/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-5243 advisory