Ruby up to 2.2.9/2.3.6/2.4.3/2.5.0 HTTP Server HTTP Response Split response splitting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.2 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in Ruby up to 2.2.9/2.3.6/2.4.3/2.5.0. Impacted is an unknown function of the component HTTP Server. The manipulation as part of HTTP Response leads to response splitting (Split). This vulnerability is uniquely identified as CVE-2017-17742. The attack is possible to be carried out remotely. No exploit exists. It is suggested to upgrade the affected component.
Details
A vulnerability was found in Ruby up to 2.2.9/2.3.6/2.4.3/2.5.0 (Programming Language Software) and classified as critical. This issue affects an unknown code of the component HTTP Server. The manipulation as part of a HTTP Response leads to a response splitting vulnerability (Split). Using CWE to declare the problem leads to CWE-113. The product receives data from an HTTP agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes CR and LF characters before the data is included in outgoing HTTP headers. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 03/28/2018. The weakness was disclosed 04/03/2018 (Website). The advisory is shared at ruby-lang.org. The identification of this vulnerability is CVE-2017-17742 since 12/18/2017. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Neither technical details nor an exploit are publicly available.
The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 110551 (Ubuntu 14.04 LTS / 16.04 LTS / 17.10 : ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities (USN-3685-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 237072 (Red Hat Update for rh-ruby25-ruby (RHSA-2018:3731)).
Upgrading to version 2.2.10, 2.3.7, 2.4.4, 2.5.1 or 2.6.0-preview1 eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (110551), SecurityFocus (BID 103684†) and CERT Bund (WID-SEC-2023-1111). The entries VDB-114428, VDB-114429, VDB-114430 and VDB-114431 are pretty similar. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- Open Source Ruby
- Open Source Arch Linux
Product
Type
Name
Version
- 2.0
- 2.1
- 2.2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.2.5
- 2.2.6
- 2.2.7
- 2.2.8
- 2.2.9
- 2.3
- 2.3.0
- 2.3.1
- 2.3.2
- 2.3.3
- 2.3.4
- 2.3.5
- 2.3.6
- 2.4
- 2.4.0
- 2.4.1
- 2.4.2
- 2.4.3
- 2.5.0
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.2
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.3
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: SplitClass: Response splitting / Split
CWE: CWE-113 / CWE-93 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 110551
Nessus Name: Ubuntu 14.04 LTS / 16.04 LTS / 17.10 : ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities (USN-3685-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 860813
OpenVAS Name: Debian LTS Advisory ([SECURITY] [DLA 1358-1] ruby1.9.1 security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Ruby 2.2.10/2.3.7/2.4.4/2.5.1/2.6.0-preview1
Timeline
12/18/2017 🔍03/28/2018 🔍
03/28/2018 🔍
04/03/2018 🔍
04/03/2018 🔍
04/04/2018 🔍
06/13/2018 🔍
06/15/2018 🔍
05/10/2026 🔍
Sources
Advisory: USN-3685-1Researcher: Aaron Patterson
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-17742 (🔍)
GCVE (CVE): GCVE-0-2017-17742
GCVE (VulDB): GCVE-100-115637
OVAL: 🔍
SecurityFocus: 103684 - Ruby CVE-2017-17742 HTTP Response Splitting Vulnerability
SecurityTracker: 1042004
CERT Bund: WID-SEC-2023-1111 - Ruby: Mehrere Schwachstellen
See also: 🔍
Entry
Created: 04/04/2018 08:32Updated: 05/10/2026 01:34
Changes: 04/04/2018 08:32 (78), 01/21/2020 07:38 (6), 02/08/2021 11:05 (2), 02/08/2021 11:08 (1), 02/26/2023 14:16 (3), 02/26/2023 14:17 (1), 05/10/2026 01:34 (21)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.