CVE-2017-10784
HIGH 8.8CVSS 3.0WEBrick RCE Vulnerability
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.
- Published
- 19 Sep 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-369m-2gv6-mw28
- Sources
- NVDJSONOSV GHSA-369m-2gv6-mw28JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
<= 2.2.7 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:* |
= 2.3.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.3.0:preview1:*:*:*:*:*:* |
= 2.3.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.3.0:preview2:*:*:*:*:*:* |
= 2.3.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.3.1:*:*:*:*:*:*:* |
= 2.3.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.3.2:*:*:*:*:*:*:* |
= 2.3.2 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.3.3:*:*:*:*:*:*:* |
= 2.3.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.3.4:*:*:*:*:*:*:* |
= 2.3.4 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:* |
= 2.4.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.4.0:preview1:*:*:*:*:*:* |
= 2.4.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.4.0:preview2:*:*:*:*:*:* |
= 2.4.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.4.0:preview3:*:*:*:*:*:* |
= 2.4.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.4.0:rc1:*:*:*:*:*:* |
= 2.4.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.4.1:*:*:*:*:*:*:* |
= 2.4.1 | |
| OSV | RubyGems | webrick | < 1.4.0 | 1.4.0 |
References
- http://www.securityfocus.com/bid/100853 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039363 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042004
- https://access.redhat.com/errata/RHSA-2017:3485 · WEB
- https://access.redhat.com/errata/RHSA-2018:0378 · WEB
- https://access.redhat.com/errata/RHSA-2018:0583 · WEB
- https://access.redhat.com/errata/RHSA-2018:0585 · WEB
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html · WEB
- https://security.gentoo.org/glsa/201710-18 · WEB
- https://usn.ubuntu.com/3528-1/ · WEB
- https://usn.ubuntu.com/3685-1/ · WEB
- https://www.debian.org/security/2017/dsa-4031 · WEB
- https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/ · Patch, Vendor Advisory, WEB
- https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/ · Patch, Vendor Advisory, WEB
- https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-10784 · ADVISORY
- https://github.com/ruby/ruby/commit/6617c41292 · WEB
- https://github.com/ruby/webrick/commit/4ac0f3843ab82d1c31e1cfc719409208adef7813 · WEB
- https://hackerone.com/reports/223363 · WEB
- https://web.archive.org/web/20211025092552/http://www.securitytracker.com/id/1039363 · WEB
- https://web.archive.org/web/20210919031115/http://www.securitytracker.com/id/1042004 · WEB
- https://web.archive.org/web/20210621131814/http://www.securityfocus.com/bid/100853 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2017-10784.yml · WEB
- https://github.com/ruby/webrick · PACKAGE
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 19 Sep 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 May 2022)