ruby: HTTP response splitting in WEBrick
Published Apr 3, 2018
5.3
MEDIUMCVSS 3.0
EPSS 5.45%
Description
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 7
ruby-0:2.0.0.648-36.el7
Fixed · RHSA-2019:2028
Red Hat Enterprise Linux 7.4 Advanced Update Support
ruby-0:2.0.0.648-36.el7_4
Fixed · RHSA-2020:2212
Red Hat Enterprise Linux 7.4 Telco Extended Update Support
ruby-0:2.0.0.648-36.el7_4
Fixed · RHSA-2020:2212
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions
ruby-0:2.0.0.648-36.el7_4
Fixed · RHSA-2020:2212
Red Hat Enterprise Linux 7.5 Extended Update Support
ruby-0:2.0.0.648-36.el7_5
Fixed · RHSA-2020:1963
Red Hat Enterprise Linux 7.6 Extended Update Support
ruby-0:2.0.0.648-37.el7_6
Fixed · RHSA-2020:2288
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-ruby23-ruby-0:2.3.8-69.el6
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-ruby24-ruby-0:2.4.5-91.el6
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-ruby23-ruby-0:2.3.8-69.el7
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-ruby24-ruby-0:2.4.5-91.el7
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-ruby25-ruby-0:2.5.3-6.el7
Fixed · RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-ruby23-ruby-0:2.3.8-69.el7
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-ruby24-ruby-0:2.4.5-91.el7
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-ruby25-ruby-0:2.5.3-6.el7
Fixed · RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-ruby23-ruby-0:2.3.8-69.el7
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-ruby24-ruby-0:2.4.5-91.el7
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-ruby25-ruby-0:2.5.3-6.el7
Fixed · RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-ruby23-ruby-0:2.3.8-69.el7
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-ruby24-ruby-0:2.4.5-91.el7
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-ruby25-ruby-0:2.5.3-6.el7
Fixed · RHSA-2018:3731
CloudForms Management Engine 5
rh-ruby22-ruby
Not affected
CloudForms Management Engine 5
ruby-200-ruby
Not affected
Red Hat Enterprise Linux 5
ruby
Will not fix
Red Hat Enterprise Linux 6
ruby
Will not fix
Red Hat Enterprise Linux 8
ruby
Not affected
Red Hat Software Collections
rh-ruby22-ruby
Will not fix
Red Hat Subscription Asset Manager
ruby193-ruby
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ruby-0:2.0.0.648-36.el7 | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | ruby-0:2.0.0.648-36.el7_4 | Fixed | RHSA-2020:2212 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | ruby-0:2.0.0.648-36.el7_4 | Fixed | RHSA-2020:2212 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | ruby-0:2.0.0.648-36.el7_4 | Fixed | RHSA-2020:2212 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | ruby-0:2.0.0.648-36.el7_5 | Fixed | RHSA-2020:1963 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | ruby-0:2.0.0.648-37.el7_6 | Fixed | RHSA-2020:2288 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ruby23-ruby-0:2.3.8-69.el6 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ruby24-ruby-0:2.4.5-91.el6 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed | RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed | RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed | RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed | RHSA-2018:3731 |
| CloudForms Management Engine 5 | rh-ruby22-ruby | Not affected | n/a |
| CloudForms Management Engine 5 | ruby-200-ruby | Not affected | n/a |
| Red Hat Enterprise Linux 5 | ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | ruby | Not affected | n/a |
| Red Hat Software Collections | rh-ruby22-ruby | Will not fix | n/a |
| Red Hat Subscription Asset Manager | ruby193-ruby | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of ruby as shipped with Red Hat CloudForms 4. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/. This issue affects the versions of ruby as shipped with Red Hat Subscription Asset Manager 1. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Red Hat mitigation
The server can manually sanitize possibly untrusted headers prior to inserting them in the reply.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.45% (0.05453) | 92.48th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.76% (0.05760) | 92.07th | v5 (v2026.06.15) |
| Aug 1, 2025 | 1.54% (0.01543) | 80.71th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.48% (0.00485) | 63.24th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.68% (0.00679) | 80.64th | v3 (v2023.03.01) |
| Jul 7, 2024 | 0.68% (0.00679) | 80.09th | v3 (v2023.03.01) |
| May 2, 2024 | 0.66% (0.00659) | 79.33th | v3 (v2023.03.01) |
| Jan 17, 2024 | 0.66% (0.00659) | 77.33th | v3 (v2023.03.01) |
| Nov 21, 2023 | 0.93% (0.00933) | 81.26th | v3 (v2023.03.01) |
| Oct 4, 2023 | 1.03% (0.01033) | 82.17th | v3 (v2023.03.01) |
| Aug 25, 2023 | 1.21% (0.01213) | 83.55th | v3 (v2023.03.01) |
| May 1, 2023 | 0.91% (0.00914) | 80.53th | v3 (v2023.03.01) |
| Mar 28, 2023 | 0.84% (0.00841) | 79.58th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.74% (0.00745) | 77.99th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.32% (0.04318) | 74.66th | v1 |
| Jan 6, 2022 | 4.32% (0.04318) | 74.45th | v1 |
| Sep 1, 2021 | 4.32% (0.04318) | 83.56th | v1 |
| Apr 14, 2021 | 4.32% (0.04318) | 0.00th | v1 |
References (24)
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html vendor-advisory
- http://www.securityfocus.com/bid/103684 vdb-entryThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1042004 vdb-entry
- https://access.redhat.com/errata/RHSA-2018:3729 vendor-advisory
- https://access.redhat.com/errata/RHSA-2018:3730 vendor-advisory
- https://access.redhat.com/errata/RHSA-2018:3731 vendor-advisory
- https://access.redhat.com/errata/RHSA-2019:2028 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2017-17742 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1561952 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html mailing-listThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html mailing-listThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html mailing-list
- https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html mailing-list
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html mailing-list
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2017-17742
- https://usn.ubuntu.com/3685-1/ vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2017-17742
- https://www.debian.org/security/2018/dsa-4259 vendor-advisory
- https://www.ruby-lang.org/en/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/ Vendor Advisory
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/ PatchRelease Notes
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/ PatchRelease Notes
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/ PatchRelease Notes
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/ PatchRelease Notes
Change history (0)
No recorded changes yet.