Skip to main content
No exploitation reportedFix available

CVE-2017-17742

No exploitation reported by the sources we read.

  • Published2018-04-03
  • Fixed in2.5.1 · 2.4.4 · 2.3.7 · 2.2.10
  • WeaknessCWE-113

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2018-04-0322:29CVE publishedNVD

Versions per branch

NVD
Ruby
BranchAffectedFixed in
2.5≥ 2.5.0, < 2.5.12.5.1
2.4≥ 2.4.0, < 2.4.42.4.4
2.3≥ 2.3.0, < 2.3.72.3.7
2.2≥ 2.2.0, < 2.2.102.2.10
2.6= 2.6.0no fix published
Debian debian linux
BranchAffectedFixed in
7.0= 7.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jrubyUbuntu:Pro:14.04:LTSall versions · fixed in 1.5.6-9+deb8u2build0.14.04.1~esm2
  • jrubyUbuntu:26.10all versions · no fixed version listed
  • jrubyUbuntu:26.04:LTSall versions · no fixed version listed
  • jrubyUbuntu:25.10all versions · no fixed version listed
  • jrubyUbuntu:24.04:LTSall versions · no fixed version listed
  • jrubyUbuntu:20.04:LTSall versions · no fixed version listed
  • jrubyUbuntu:18.04:LTSall versions · no fixed version listed
  • jrubyUbuntu:16.04:LTSall versions · no fixed version listed

235 more package ranges on OSV.dev

Vendor advisories

  • CVE-2017-17742 Red Hat Product Security854 products fixed · 30 known affected

    ruby: HTTP response splitting in WEBrick

    ruby.src as a component of Red Hat Enterprise Linux 5 · ruby as a component of Red Hat Enterprise Linux 6 · ruby-devel as a component of Red Hat Enterprise Linux 6 · +27 more

  • RHSA-2020:2288 Red Hat Product Security104 products fixed

    Red Hat Security Advisory: ruby security update

  • RHSA-2020:2212 Red Hat Product Security70 products fixed

    Red Hat Security Advisory: ruby security update

  • RHSA-2020:1963 Red Hat Product Security74 products fixed

    Red Hat Security Advisory: ruby security update

  • RHSA-2019:2028 Red Hat Product Security114 products fixed

    Red Hat Security Advisory: ruby security update

  • RHSA-2018:3731 Red Hat Product Security191 products fixed

    Red Hat Security Advisory: rh-ruby25-ruby security, bug fix, and enhancement update

2 more advisories

Full record on NVD

Fix

  1. Update Ruby to 2.5.1 · 2.4.4 · 2.3.7 · 2.2.10
  2. Vendor fix Red Hat Product Security RHSA-2020:2288 · 104 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Workaround from the vendor Red Hat Product Security RHSA-2020:2288 · 104 productsThe server can manually sanitize possibly untrusted headers prior to inserting them in the reply.
  4. No fix planned, says the vendor Red Hat Product Security CVE-2017-17742 · 30 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
2018-04-03
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-7p4c-jf2w-hc3w

Frequently asked questions

What is CVE-2017-17742?

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.

Is CVE-2017-17742 actively exploited?

Active exploitation of CVE-2017-17742 has not been confirmed. Its EPSS score was 5.5% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2017-17742?

CVE-2017-17742 has a CVSS v3 base score of 5.3 (Medium severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

Running Ruby? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record