PT-2019-4673

CVE-2019-16254

·

Published

2016-10-03

·

Updated

2026-09-18

Description by

CVSS 2.0
7.5
High
MetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Ruby versions prior to 2.4.8 Ruby versions 2.5.x through 2.5.6 Ruby versions 2.6.x through 2.6.4 Puma versions prior to 3.12.3 Puma versions prior to 4.3.2
Description The issue is related to incorrect handling of special elements in the WEBrick library of the Ruby programming language interpreter. This can allow a remote attacker to perform cross-site scripting attacks by splitting HTTP responses. 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. The vulnerability is known as HTTP Response Splitting and can be used as a vector for other attacks, such as cross-site scripting (XSS).
Recommendations For Ruby versions prior to 2.4.8, update to version 2.4.8 or later to resolve the issue. For Ruby versions 2.5.x through 2.5.6, update to version 2.5.7 or later to resolve the issue. For Ruby versions 2.6.x through 2.6.4, update to version 2.6.5 or later to resolve the issue. For Puma versions prior to 3.12.3, update to version 3.12.3 or later to resolve the issue. For Puma versions prior to 4.3.2, update to version 4.3.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of untrusted input in response headers until a patch is available. Avoid using newline characters (i.e., CR, LF, /r, /n) in headers to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-84J7-475P-HP8V
ALSA-2021:2587
ALSA-2021:2588
ALT-PU-2016-2061
ALT-PU-2020-1679
ALT-PU-2020-3411
ALT-PU-2021-3068
BIT-RUBY-2020-5247
BIT-RUBY-MIN-2020-5247
CESA-2021_2587
CESA-2021_2588
CLEANSTART-2026-DS16175
DLA-2007-1
DLA-2027-1
DLA-2330-1
DLA-3408-1
DSA-4586-1
DSA-4587-1
MGASA-2019-0408
MGASA-2020-0440
OPENSUSE-SU-2020:0395-1
OPENSUSE-SU-2020_0395-1
RHSA-2021:2104
RHSA-2021:2230
RHSA-2021:2587
RHSA-2021_2587
RHSA-2021:2588
RHSA-2021_2588
RHSA-2022:0581
RHSA-2022:0582
RHSA-2026:7305
RHSA-2026:7307
RHSA-2026:8838
RLSA-2021:2587
RLSA-2021:2588
SUSE-SU-2020:0737-1
SUSE-SU-2020:1570-1
SUSE-SU-2020_1570-1
USN-4201-1
Found an issue in the description? Have something to add? Feel free to write us 👾