CVE-2017-10784
ruby: Escape sequence injection vulnerability in the Basic authentication of WEBrick
Overview
Description
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-287
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | webrick | <1.4.0 | 1.4.0 |
Open a package to see all its vulnerabilities.
Operating systems · 63 fixes
Oracle Linux 1 release · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | rubygem-io-console | 0.4.2-33.el7_4 |
| 7 | rubygem-rake | 0.9.6-33.el7_4 |
| 7 | rubygem-bigdecimal | 1.2.0-33.el7_4 |
| 7 | rubygem-json | 1.7.7-33.el7_4 |
| 7 | rubygem-psych | 2.0.0-33.el7_4 |
| 7 | ruby +5 | 2.0.0.648-33.el7_4 |
3 more rows
Red Hat 1 release · 48 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-ruby23-rubygem-net-telnet | 0:0.1.1-67.el7 | RHSA-2018:0585 |
| 7 | rh-ruby24-rubygem-net-telnet | 0:0.1.1-86.el7 | RHSA-2017:3485 |
| 7 | rh-ruby24-rubygem-xmlrpc | 0:0.2.1-86.el7 | RHSA-2017:3485 |
| 7 | rh-ruby22-rubygem-power-assert | 0:0.2.2-19.el7 | RHSA-2018:0583 |
| 7 | rh-ruby23-rubygem-power-assert | 0:0.2.6-67.el7 | RHSA-2018:0585 |
| 7 | rh-ruby24-rubygem-power-assert | 0:0.4.1-86.el7 | RHSA-2017:3485 |
42 more rows
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libruby2-1-2-1 +3 | 2.1.9-19.3.2 | SUSE-SU-2020:1570-1 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | ruby | 2.4.2-r0 |
| 3.23 | ruby | 2.4.2-r0 |
| 3.24 | ruby | 2.4.2-r0 |
| edge | ruby | 2.4.2-r0 |
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | ruby2-3 | 2.3.3-1+deb9u2 |
References
- www.securityfocus.com http://www.securityfocus.com/bid/100853
- www.securitytracker.com http://www.securitytracker.com/id/1039363
- www.securitytracker.com http://www.securitytracker.com/id/1042004
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3485
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0378
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0583
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0585
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-10784
- github.com https://github.com/advisories/GHSA-369m-2gv6-mw28
- github.com https://github.com/ruby/ruby/commit/6617c41292
Show all 37 references
- github.com https://github.com/ruby/webrick
- github.com https://github.com/ruby/webrick/commit/4ac0f3843ab82d1c31e1cfc719409208adef7813
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2017-10784.yml
- hackerone.com https://hackerone.com/reports/223363
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-10784.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2018-0378.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-10784
- security.gentoo.org https://security.gentoo.org/glsa/201710-18
- ubuntu.com https://ubuntu.com/security/notices/USN-3439-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3528-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3685-1
- usn.ubuntu.com https://usn.ubuntu.com/3528-1
- usn.ubuntu.com https://usn.ubuntu.com/3528-1/
- usn.ubuntu.com https://usn.ubuntu.com/3685-1
- usn.ubuntu.com https://usn.ubuntu.com/3685-1/
- web.archive.org https://web.archive.org/web/20210621131814/http://www.securityfocus.com/bid/100853
- web.archive.org https://web.archive.org/web/20210919031115/http://www.securitytracker.com/id/1042004
- web.archive.org https://web.archive.org/web/20211025092552/http://www.securitytracker.com/id/1039363
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-10784
- www.debian.org https://www.debian.org/security/2017/dsa-4031
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.