CVE-2020-5243
HIGH 7.5CVSS 3.1Denial of Service in uap-core when processing crafted User-Agent strings
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.
- Published
- 21 Feb 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333CWE-20
- Also known as
- GHSA-cmcx-xhr8-3w9p
- Sources
- NVDJSONOSV GHSA-cmcx-xhr8-3w9pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | uap-core_project | uap-corecpe:2.3:a:uap-core_project:uap-core:*:*:*:*:*:node.js:*:* |
< 0.7.3 | 0.7.3 |
| OSV | npm | uap-core | < 0.7.3 | 0.7.3 |
| OSV | RubyGems | user_agent_parser | < 2.6.0 | 2.6.0 |
References
- https://github.com/ua-parser/uap-core/commit/0afd61ed85396a3b5316f18bfd1edfaadf8e88e1 · Patch, WEB
- https://github.com/ua-parser/uap-core/security/advisories/GHSA-cmcx-xhr8-3w9p · Exploit, Third Party Advisory, WEB
- https://github.com/ua-parser/uap-ruby/security/advisories/GHSA-pcqq-5962-hvcw · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5243 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/user_agent_parser/CVE-2020-5243.yml · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 21 Feb 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Feb 2020)