CVE-2017-10784Ruby-lang Ruby
High 8.8 No auth neededHigh EPSS
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- Priority
- 69
- CVSS 3.0
- 8.8
- EPSS
- 16.4% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Sep 19, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | webrick |
< 1.4.0 |
1.4.0 |
gem "webrick", ">= 1.4.0" |
Per OSV / GitHub Advisories (GHSA-369m-2gv6-mw28). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | ≤ 2.2.7 |
| ruby-lang | ruby | 2.3.0 |
| ruby-lang | ruby | 2.3.0 |
| ruby-lang | ruby | 2.3.0 |
| ruby-lang | ruby | 2.3.1 |
| ruby-lang | ruby | 2.3.2 |
| ruby-lang | ruby | 2.3.3 |
| ruby-lang | ruby | 2.3.4 |
| ruby-lang | ruby | 2.4.0 |
| ruby-lang | ruby | 2.4.0 |
| ruby-lang | ruby | 2.4.0 |
| ruby-lang | ruby | 2.4.0 |
| ruby-lang | ruby | 2.4.0 |
| ruby-lang | ruby | 2.4.1 |
Official advisories
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:8838 · Apr 21, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7305 · Apr 21, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7307 · Apr 21, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- www.securitytracker.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- lists.debian.org
- security.gentoo.org
- usn.ubuntu.com
- usn.ubuntu.com
- www.debian.org
- www.ruby-lang.org Patch Vendor Advisory
- www.ruby-lang.org Patch Vendor Advisory
- www.ruby-lang.org Vendor Advisory