CVE-2020-5243
MEDIUM5.7EPSS 0.80%Denial of Service in uap-core when processing crafted User-Agent strings
發布日:2020/2/20修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/uap-corefrom 0, < 1:0.8.0-1
- npm/uap-corefrom 0, < 0.7.3
- RubyGems/user_agent_parserfrom 0, < 2.6.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-5243
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-5243
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/user_agent_parser/CVE-2020-5243.yml
- WEBhttps://github.com/ua-parser/uap-core/commit/0afd61ed85396a3b5316f18bfd1edfaadf8e88e1
- WEBhttps://github.com/ua-parser/uap-core/security/advisories/GHSA-cmcx-xhr8-3w9p
- WEBhttps://github.com/ua-parser/uap-ruby/security/advisories/GHSA-pcqq-5962-hvcw