CVE-2017-10784 in the critical feed json
WEBrick RCE Vulnerability
published 2017-09-19 9 y ago modified 2026-06-17 4 mo ago also GHSA-369m-2gv6-mw28 , EUVD-2022-2118
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 16.4%
- EPSS 16.4% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.
Patch / fix
- rubygems webrick 1.4.0
- ruby2.0 Ubuntu 14.04 LTS 2.0.0.484-1ubuntu2.10
- ruby2.3 Ubuntu 16.04 LTS 2.3.1-2~16.04.5
- ruby1.9.1 Ubuntu 14.04 LTS 1.9.3.484-2ubuntu1.5
ubuntu advisories UBUNTU-CVE-2017-10784
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
- ruby4.0 hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-libs hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-bundled-gems hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-default-gems hummingbird 1 4.0.0-33.3.hum1
- ruby3.3 hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-libs hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-bundled-gems hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-default-gems hummingbird 1 3.3.10-23.1.hum1
red hat advisories RHSA-2026:8838RHSA-2026:7305RHSA-2026:7307RHSA-2018:0583RHSA-2018:0585RHSA-2018:0378
- 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
suse advisories SUSE-SU-2020:1570-1
- ruby Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 2.4.2-r0
- ruby Alpine 3.3 2.2.8-r0
- ruby Alpine 3.5, Alpine 3.4 2.3.5-r0
- ruby2.2 Alpine 3.6, Alpine 3.5 2.2.8-r0
alpine advisories ALPINE-CVE-2017-10784
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-10784 updated cvss 5.4
ruby: Escape sequence injection vulnerability in the Basic authentication of WEBrick
-
Red Hat Enterprise Linux 5 ruby Red Hat Enterprise Linux 6 ruby, ruby-ri, ruby-irb, ruby-libs, ruby-rdoc, ruby-tcltkaffected: no fix planned “Will not fix”
-
Red Hat Hardened Images rubyaffected: no fix available
-
Red Hat Subscription Asset Manager ruby193-rubyaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) ruby 2.0.0.648-33.el7_4, rubygems 2.0.14.1-33.el7_4, ruby-irb 2.0.0.648-33.el7_4, rubygem-json 1.7.7-33.el7_4, rubygem-rdoc 4.0.0-33.el7_4, ruby-libs 2.0.0.648-33.el7_4, +3 more Red Hat Enterprise Linux Client Optional (v. 7) rubygem-rake 0.9.6-33.el7_4, ruby-tcltk 2.0.0.648-33.el7_4, rubygem-minitest 4.3.2-33.el7_4 Red Hat Enterprise Linux ComputeNode (v. 7) ruby 2.0.0.648-33.el7_4, rubygems 2.0.14.1-33.el7_4, ruby-irb 2.0.0.648-33.el7_4, rubygem-json 1.7.7-33.el7_4, rubygem-rdoc 4.0.0-33.el7_4, ruby-libs 2.0.0.648-33.el7_4, +3 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) rubygem-rake 0.9.6-33.el7_4, ruby-tcltk 2.0.0.648-33.el7_4, rubygem-minitest 4.3.2-33.el7_4 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ruby 2.0.0.648-33.el7_4, rubygems 2.0.14.1-33.el7_4, ruby-irb 2.0.0.648-33.el7_4, rubygem-json 1.7.7-33.el7_4, rubygem-rdoc 4.0.0-33.el7_4, ruby-libs 2.0.0.648-33.el7_4, +3 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) rubygem-rake 0.9.6-33.el7_4, ruby-tcltk 2.0.0.648-33.el7_4, rubygem-minitest 4.3.2-33.el7_4fixed: vendor fix RHSA-2018:0378
+4 more productsfewer
Red Hat Enterprise Linux Server (v. 7) ruby 2.0.0.648-33.el7_4, rubygems 2.0.14.1-33.el7_4, ruby-irb 2.0.0.648-33.el7_4, rubygem-json 1.7.7-33.el7_4, rubygem-rdoc 4.0.0-33.el7_4, ruby-libs 2.0.0.648-33.el7_4, +3 more Red Hat Enterprise Linux Server Optional (v. 7) rubygem-rake 0.9.6-33.el7_4, ruby-tcltk 2.0.0.648-33.el7_4, rubygem-minitest 4.3.2-33.el7_4 Red Hat Enterprise Linux Workstation (v. 7) ruby 2.0.0.648-33.el7_4, rubygems 2.0.14.1-33.el7_4, ruby-irb 2.0.0.648-33.el7_4, rubygem-json 1.7.7-33.el7_4, rubygem-rdoc 4.0.0-33.el7_4, ruby-libs 2.0.0.648-33.el7_4, +3 more Red Hat Enterprise Linux Workstation Optional (v. 7) rubygem-rake 0.9.6-33.el7_4, ruby-tcltk 2.0.0.648-33.el7_4, rubygem-minitest 4.3.2-33.el7_4 -
Red Hat Hardened Images ruby3.4 3.4.8-31.1.hum1, ruby4.0 4.0.0-33.3.hum1, ruby3.3 3.3.10-23.1.hum1, ruby3.4-libs 3.4.8-31.1.hum1, ruby4.0-libs 4.0.0-33.3.hum1, ruby3.3-libs 3.3.10-23.1.hum1, +6 morefixed: vendor fix RHSA-2026:7305
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby22-ruby 2.2.9-19.el6, rh-ruby23-ruby 2.3.6-67.el6, rh-ruby24-ruby 2.4.2-86.el6, rh-ruby22-ruby-irb 2.2.9-19.el6, rh-ruby23-ruby-irb 2.3.6-67.el6, rh-ruby24-ruby-irb 2.4.2-86.el6, +41 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby23-ruby 2.3.6-67.el7, rh-ruby24-ruby 2.4.2-86.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby23-ruby-irb 2.3.6-67.el7, rh-ruby24-ruby-irb 2.4.2-86.el7, +41 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-ruby22-ruby 2.2.9-19.el6, rh-ruby23-ruby 2.3.6-67.el6, rh-ruby24-ruby 2.4.2-86.el6, rh-ruby22-ruby-irb 2.2.9-19.el6, rh-ruby23-ruby-irb 2.3.6-67.el6, rh-ruby24-ruby-irb 2.4.2-86.el6, +41 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby23-ruby 2.3.6-67.el7, rh-ruby24-ruby 2.4.2-86.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby23-ruby-irb 2.3.6-67.el7, rh-ruby24-ruby-irb 2.4.2-86.el7, +41 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby23-ruby 2.3.6-67.el7, rh-ruby24-ruby 2.4.2-86.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby23-ruby-irb 2.3.6-67.el7, rh-ruby24-ruby-irb 2.4.2-86.el7, +41 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby22-ruby 2.2.9-19.el6, rh-ruby23-ruby 2.3.6-67.el6, rh-ruby24-ruby 2.4.2-86.el6, rh-ruby22-ruby-irb 2.2.9-19.el6, rh-ruby23-ruby-irb 2.3.6-67.el6, rh-ruby24-ruby-irb 2.4.2-86.el6, +41 morefixed: vendor fix RHSA-2018:0583
+1 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby23-ruby 2.3.6-67.el7, rh-ruby24-ruby 2.4.2-86.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby23-ruby-irb 2.3.6-67.el7, rh-ruby24-ruby-irb 2.4.2-86.el7, +41 more -
Red Hat CloudForms Management Engine 5 ruby-200-ruby, rh-ruby22-ruby Red Hat Hardened Images rubygem3.3-rbs 3.4.0-23.1.hum1, rubygem3.3-rss 0.3.1-23.1.hum1, rubygem3.4-rbs 3.8.0-31.1.hum1, rubygem3.4-rss 0.3.1-31.1.hum1, rubygem4.0-rss 0.3.2-33.3.hum1, rubygem3.3-irb 1.13.1-23.1.hum1, +45 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
16.41% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | webrick | <1.4.0 |
1.4.0 |
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
ruby-lang.org
/en/news/2017/09/14/ruby-2-3-5-released/
patch, vendor-advisory
-
ruby-lang.org
/en/news/2017/09/14/ruby-2-2-8-released/
patch, vendor-advisory
-
github.com
/ruby/ruby/commit/6617c41292
web
-
github.com
/ruby/webrick/commit/4ac0f3843ab82d1c31e1cfc719409208adef7813
web
-
usn.ubuntu.com
/3685-1/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:0585
vendor-advisory, web
-
usn.ubuntu.com
/3528-1/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:0378
vendor-advisory, web
-
debian.org
/security/2017/dsa-4031
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2017:3485
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2018:0583
vendor-advisory, web
-
security.gentoo.org
/glsa/201710-18
vendor-advisory, web
-
ruby-lang.org
/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/
vendor-advisory
-
securityfocus.com
/bid/100853
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1042004
vdb-entry
-
securitytracker.com
/id/1039363
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/07/msg00012.html
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2017-10784
advisory
-
hackerone.com
/reports/223363
web
-
ruby-lang.org
/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784
web
-
ruby-lang.org
/en/news/2017/09/14/ruby-2-3-5-released
web
-
ruby-lang.org
/en/news/2017/09/14/ruby-2-2-8-released
web
-
web.archive.org
/web/20211025092552/http://www.securitytracker.com/id/1039363
web
-
web.archive.org
/web/20210919031115/http://www.securitytracker.com/id/1042004
web
-
web.archive.org
/web/20210621131814/http://www.securityfocus.com/bid/100853
web
-
usn.ubuntu.com
/3685-1
web
-
usn.ubuntu.com
/3528-1
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2017-10784.yml
web
-
github.com
/ruby/webrick
package
Sources
- CVE List CVE-2017-10784
- GitHub Advisory GHSA-369m-2gv6-mw28
- NVD CVE-2017-10784
Fencer Intel 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.