CVE-2017-17742 json
Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1 allows an HTTP Response Splitting attack.
published 2018-04-03 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-8894
- cvss
- 5.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.5%
- EPSS 5.5% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1 allows an HTTP Response Splitting attack. An attacker can inject a crafted key and value into an HTTP response for the HTTP server of WEBrick.
Patch / fix
- ruby-lang ruby 2.2.10, 2.3.7, 2.4.4, 2.5.1
- jruby Debian 14, Debian 13, Debian 12 9.3.9.0+ds-1
debian advisories DEBIAN-CVE-2017-17742
- ruby2.0 Ubuntu 14.04 LTS 2.0.0.484-1ubuntu2.10
- ruby2.3 Ubuntu 16.04 LTS 2.3.1-2~16.04.10
- ruby1.9.1 Ubuntu 14.04 LTS 1.9.3.484-2ubuntu1.12
- jruby Ubuntu Pro 14.04 LTS 1.5.6-9+deb8u2build0.14.04.1~esm2
ubuntu advisories UBUNTU-CVE-2017-17742
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ruby RHEL 7 2.0.0.648-36.el7
- ruby-irb RHEL 7 2.0.0.648-36.el7
- rubygems RHEL 7 2.0.14.1-36.el7
- ruby-libs RHEL 7 2.0.0.648-36.el7
- ruby-tcltk RHEL 7 2.0.0.648-36.el7
- rubygem-json RHEL 7 1.7.7-36.el7
- rubygem-rake RHEL 7 0.9.6-36.el7
- rubygem-rdoc RHEL 7 4.0.0-36.el7
red hat advisories RHSA-2020:2288RHSA-2020:2212RHSA-2020:1963RHSA-2019:2028RHSA-2018:3729RHSA-2018:3730
- ruby2.1 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +14 more 2.1.9-19.3.2
- yast2-ruby-bindings SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +1 more 3.1.53-9.8.1
- ruby2.5 SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 2.5.5-4.3.1
suse advisories SUSE-SU-2020:1570-1SUSE-SU-2019:1804-1
- ruby2.5 openSUSE Leap 15.1, openSUSE Leap 15.0 2.5.5-lp151.4.3.1
- ruby-bundled-gems-rpmhelper openSUSE Leap 15.1, openSUSE Leap 15.0 0.0.2-lp151.2.1
opensuse advisories openSUSE-SU-2019:1771-1
- ruby Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 2.5.1-r0
- ruby Alpine 3.5, Alpine 3.4 2.3.7-r0
- ruby Alpine 3.7, Alpine 3.6 2.4.4-r0
alpine advisories ALPINE-CVE-2017-17742
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-17742 updated cvss 4.7
ruby: HTTP response splitting in WEBrick
-
Red Hat Enterprise Linux 5 ruby Red Hat Enterprise Linux 6 ruby, ruby-ri, ruby-irb, ruby-libs, ruby-rdoc, ruby-tcltk Red Hat Software Collections rh-ruby22-ruby, rh-ruby22-ruby-irb, rh-ruby22-rubygems, rh-ruby22-ruby-libs, rh-ruby22-ruby-tcltk, rh-ruby22-rubygem-json, +8 more Red Hat Subscription Asset Manager ruby193-rubyaffected: workaround, no fix planned “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.”
-
Red Hat Enterprise Linux Client (v. 7) ruby 2.0.0.648-36.el7, rubygems 2.0.14.1-36.el7, ruby-irb 2.0.0.648-36.el7, rubygem-json 1.7.7-36.el7, rubygem-rdoc 4.0.0-36.el7, ruby-libs 2.0.0.648-36.el7, +3 more Red Hat Enterprise Linux Client Optional (v. 7) rubygem-rake 0.9.6-36.el7, ruby-tcltk 2.0.0.648-36.el7, rubygem-minitest 4.3.2-36.el7 Red Hat Enterprise Linux ComputeNode (v. 7) ruby 2.0.0.648-36.el7, rubygems 2.0.14.1-36.el7, ruby-irb 2.0.0.648-36.el7, rubygem-json 1.7.7-36.el7, rubygem-rdoc 4.0.0-36.el7, ruby-libs 2.0.0.648-36.el7, +3 morefixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2019:2028
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) ruby 2.0.0.648-36.el7_5, rubygems 2.0.14.1-36.el7_5, ruby-irb 2.0.0.648-36.el7_5, rubygem-json 1.7.7-36.el7_5, rubygem-rdoc 4.0.0-36.el7_5, ruby-libs 2.0.0.648-36.el7_5, +3 morefixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:1963
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) ruby 2.0.0.648-37.el7_6, rubygems 2.0.14.1-37.el7_6, ruby-irb 2.0.0.648-37.el7_6, rubygem-json 1.7.7-37.el7_6, rubygem-rdoc 4.0.0-37.el7_6, ruby-libs 2.0.0.648-37.el7_6, +3 morefixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:2288
-
Red Hat Enterprise Linux ComputeNode Optional (v. 7) rubygem-rake 0.9.6-36.el7, ruby-tcltk 2.0.0.648-36.el7, rubygem-minitest 4.3.2-36.el7fixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2019:2028
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) rubygem-rake 0.9.6-36.el7_5, ruby-tcltk 2.0.0.648-36.el7_5, rubygem-minitest 4.3.2-36.el7_5fixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:1963
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) rubygem-rake 0.9.6-37.el7_6, ruby-tcltk 2.0.0.648-37.el7_6, rubygem-minitest 4.3.2-37.el7_6 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ruby 2.0.0.648-37.el7_6, rubygems 2.0.14.1-37.el7_6, ruby-irb 2.0.0.648-37.el7_6, rubygem-json 1.7.7-37.el7_6, rubygem-rdoc 4.0.0-37.el7_6, ruby-libs 2.0.0.648-37.el7_6, +3 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) rubygem-rake 0.9.6-37.el7_6, ruby-tcltk 2.0.0.648-37.el7_6, rubygem-minitest 4.3.2-37.el7_6fixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:2288
-
Red Hat Enterprise Linux Server (v. 7) ruby 2.0.0.648-36.el7, rubygems 2.0.14.1-36.el7, ruby-irb 2.0.0.648-36.el7, rubygem-json 1.7.7-36.el7, rubygem-rdoc 4.0.0-36.el7, ruby-libs 2.0.0.648-36.el7, +3 morefixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2019:2028
show 11 moreshow fewer
-
Red Hat Enterprise Linux Server AUS (v. 7.4) ruby 2.0.0.648-36.el7_4, rubygems 2.0.14.1-36.el7_4, ruby-irb 2.0.0.648-36.el7_4, rubygem-json 1.7.7-36.el7_4, rubygem-rdoc 4.0.0-36.el7_4, ruby-libs 2.0.0.648-36.el7_4, +3 more Red Hat Enterprise Linux Server E4S (v. 7.4) ruby 2.0.0.648-36.el7_4, rubygems 2.0.14.1-36.el7_4, ruby-irb 2.0.0.648-36.el7_4, rubygem-json 1.7.7-36.el7_4, rubygem-rdoc 4.0.0-36.el7_4, ruby-libs 2.0.0.648-36.el7_4, +3 morefixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:2212
-
Red Hat Enterprise Linux Server EUS (v. 7.5) ruby 2.0.0.648-36.el7_5, rubygems 2.0.14.1-36.el7_5, ruby-irb 2.0.0.648-36.el7_5, rubygem-json 1.7.7-36.el7_5, rubygem-rdoc 4.0.0-36.el7_5, ruby-libs 2.0.0.648-36.el7_5, +3 morefixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:1963
-
Red Hat Enterprise Linux Server EUS (v. 7.6) ruby 2.0.0.648-37.el7_6, rubygems 2.0.14.1-37.el7_6, ruby-irb 2.0.0.648-37.el7_6, rubygem-json 1.7.7-37.el7_6, rubygem-rdoc 4.0.0-37.el7_6, ruby-libs 2.0.0.648-37.el7_6, +3 morefixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:2288
-
Red Hat Enterprise Linux Server Optional (v. 7) rubygem-rake 0.9.6-36.el7, ruby-tcltk 2.0.0.648-36.el7, rubygem-minitest 4.3.2-36.el7fixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2019:2028
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.4) rubygem-rake 0.9.6-36.el7_4, ruby-tcltk 2.0.0.648-36.el7_4, rubygem-minitest 4.3.2-36.el7_4 Red Hat Enterprise Linux Server Optional E4S (v. 7.4) rubygem-rake 0.9.6-36.el7_4, ruby-tcltk 2.0.0.648-36.el7_4, rubygem-minitest 4.3.2-36.el7_4fixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:2212
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.5) rubygem-rake 0.9.6-36.el7_5, ruby-tcltk 2.0.0.648-36.el7_5, rubygem-minitest 4.3.2-36.el7_5fixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:1963
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.6) rubygem-rake 0.9.6-37.el7_6, ruby-tcltk 2.0.0.648-37.el7_6, rubygem-minitest 4.3.2-37.el7_6fixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:2288
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.4) rubygem-rake 0.9.6-36.el7_4, ruby-tcltk 2.0.0.648-36.el7_4, rubygem-minitest 4.3.2-36.el7_4 Red Hat Enterprise Linux Server TUS (v. 7.4) ruby 2.0.0.648-36.el7_4, rubygems 2.0.14.1-36.el7_4, ruby-irb 2.0.0.648-36.el7_4, rubygem-json 1.7.7-36.el7_4, rubygem-rdoc 4.0.0-36.el7_4, ruby-libs 2.0.0.648-36.el7_4, +3 morefixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2020:2212
-
Red Hat Enterprise Linux Workstation (v. 7) ruby 2.0.0.648-36.el7, rubygems 2.0.14.1-36.el7, ruby-irb 2.0.0.648-36.el7, rubygem-json 1.7.7-36.el7, rubygem-rdoc 4.0.0-36.el7, ruby-libs 2.0.0.648-36.el7, +3 more Red Hat Enterprise Linux Workstation Optional (v. 7) rubygem-rake 0.9.6-36.el7, ruby-tcltk 2.0.0.648-36.el7, rubygem-minitest 4.3.2-36.el7fixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2019:2028
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby23-ruby 2.3.8-69.el6, rh-ruby24-ruby 2.4.5-91.el6, rh-ruby23-ruby-irb 2.3.8-69.el6, rh-ruby24-ruby-irb 2.4.5-91.el6, rh-ruby23-ruby-libs 2.3.8-69.el6, rh-ruby24-ruby-libs 2.4.5-91.el6, +27 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby25-ruby 2.5.3-6.el7, rh-ruby23-ruby 2.3.8-69.el7, rh-ruby24-ruby 2.4.5-91.el7, rh-ruby25-ruby-irb 2.5.3-6.el7, rh-ruby25-rubygems 2.7.6-6.el7, rh-ruby23-ruby-irb 2.3.8-69.el7, +44 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby25-ruby 2.5.3-6.el7, rh-ruby23-ruby 2.3.8-69.el7, rh-ruby24-ruby 2.4.5-91.el7, rh-ruby25-ruby-irb 2.5.3-6.el7, rh-ruby25-rubygems 2.7.6-6.el7, rh-ruby23-ruby-irb 2.3.8-69.el7, +44 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby25-ruby 2.5.3-6.el7, rh-ruby23-ruby 2.3.8-69.el7, rh-ruby24-ruby 2.4.5-91.el7, rh-ruby25-ruby-irb 2.5.3-6.el7, rh-ruby25-rubygems 2.7.6-6.el7, rh-ruby23-ruby-irb 2.3.8-69.el7, +44 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby25-ruby 2.5.3-6.el7, rh-ruby23-ruby 2.3.8-69.el7, rh-ruby24-ruby 2.4.5-91.el7, rh-ruby25-ruby-irb 2.5.3-6.el7, rh-ruby25-rubygems 2.7.6-6.el7, rh-ruby23-ruby-irb 2.3.8-69.el7, +44 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby23-ruby 2.3.8-69.el6, rh-ruby24-ruby 2.4.5-91.el6, rh-ruby23-ruby-irb 2.3.8-69.el6, rh-ruby24-ruby-irb 2.4.5-91.el6, rh-ruby23-ruby-libs 2.3.8-69.el6, rh-ruby24-ruby-libs 2.4.5-91.el6, +27 morefixed: vendor fix “The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.” RHSA-2018:3729
+1 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby25-ruby 2.5.3-6.el7, rh-ruby23-ruby 2.3.8-69.el7, rh-ruby24-ruby 2.4.5-91.el7, rh-ruby25-ruby-irb 2.5.3-6.el7, rh-ruby25-rubygems 2.7.6-6.el7, rh-ruby23-ruby-irb 2.3.8-69.el7, +44 more -
Red Hat CloudForms Management Engine 5 ruby-200-ruby, rh-ruby22-ruby Red Hat Enterprise Linux 8 ruby, ruby-irb, rubygems, ruby-libs, rubygem-pg, rubygem-irb, +25 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.45% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers
References
-
ruby-lang.org
/en/news/2018/03/28/ruby-2-5-1-released/
patch, release-notes
-
ruby-lang.org
/en/news/2018/03/28/ruby-2-3-7-released/
patch, release-notes
-
ruby-lang.org
/en/news/2018/03/28/ruby-2-4-4-released/
patch, release-notes
-
ruby-lang.org
/en/news/2018/03/28/ruby-2-2-10-released/
patch, release-notes
-
usn.ubuntu.com
/3685-1/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:3729
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:3730
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:3731
vendor-advisory
-
debian.org
/security/2018/dsa-4259
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-07/msg00036.html
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:2028
vendor-advisory
-
ruby-lang.org
/en/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/
vendor-advisory
-
securityfocus.com
/bid/103684
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1042004
vdb-entry
-
lists.debian.org
/debian-lts-announce/2018/04/msg00023.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/07/msg00012.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2018/04/msg00024.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/12/msg00009.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2020/08/msg00027.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2023/04/msg00033.html
mailing-list
Sources
- CVE List CVE-2017-17742
- NVD CVE-2017-17742
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.