Vulnerabilities · 2017 · Ruby-lang
CVE-2017-10784
Ruby-lang Ruby 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.
Affected products
Ruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/ · Patch
- www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/ · Patch
- www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017 · Vendor Advisory
- www.securityfocus.com/bid/100853 · Third Party Advisory
- www.securitytracker.com/id/1039363 · Third Party Advisory
- www.securitytracker.com/id/1042004
- access.redhat.com/errata/RHSA-2017:3485
- access.redhat.com/errata/RHSA-2018:0378
- nvd.nist.gov/vuln/detail/CVE-2017-10784
- cve.org/CVERecord?id=CVE-2017-10784
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.