Bug 1789556 (CVE-2019-16254) - CVE-2019-16254 ruby: HTTP response splitting in WEBrick (Additional fix)
Summary: CVE-2019-16254 ruby: HTTP response splitting in WEBrick (Additional fix)
Keywords:
Status: NEW
Alias: CVE-2019-16254
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1791293 1791294 1791295 1791296 1791297 1791298 1789557
Blocks: 1789559
TreeView+ depends on / blocked
 
Reported: 2020-01-09 19:38 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-01-15 13:20 UTC (History)
11 users (show)

Fixed In Version: ruby 2.7.0-rc2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-01-09 19:38:18 UTC
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.

Reference:
https://www.ruby-lang.org/en/news/2019/10/01/http-response-splitting-in-webrick-cve-2019-16254/

Comment 1 Guilherme de Almeida Suckevicz 2020-01-09 19:39:44 UTC
Created ruby tracking bugs for this issue:

Affects: fedora-all [bug 1789557]

Comment 2 Marco Benatto 2020-01-15 13:16:24 UTC
Upstream commit for this issue:

https://github.com/ruby/ruby/commit/3ce238b5f9795581eb84114dcfbdf4aa086bfecc


Note You need to log in before you can comment on or make changes to this bug.