Vulnerability in Ruby-Lang Ruby
CVE-2019-16254
Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows HTTP Response Splitting. If a program using WEBrick inserts untrusted input into the response header, an attacker can exploit it to insert a newline character to split a header, and inject malicious content to deceive clients. NOTE: this issue exists because of an incomplete fix for CVE-2017-17742, which addressed the CRLF vector, but did not address an isolated CR or an isolated LF.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.046, 91.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby
- Debian Linux — versions 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-5247). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/331984 (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/11/msg00025.html (Mailing List, Third Party Advisory)
- www.ruby-lang.org/ja/news/2019/10/01/http-response-splitting-in-webrick-cve-201… (Vendor Advisory)
- www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ (Vendor Advisory)
- www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/ (Vendor Advisory)
- www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/ (Vendor Advisory)
- [debian-lts-announce] 20191210 [SECURITY] [DLA 2027-1] jruby security update (mailing-list)
- 20191217 [SECURITY] [DSA 4587-1] ruby2.3 security update (mailing-list)
- 20191217 [SECURITY] [DSA 4586-1] ruby2.5 security update (mailing-list)
- DSA-4587 (vendor-advisory)