CVE-2017-10784: Critical severity ruby-lang ruby vulnerability

Published Sep 15, 2017
·
Updated

Last updated 25 August 2025

Other sources

Ruby. Multiple issues in Ruby were addressed in this update.

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.

There is an escape sequence injection vulnerability in the Basic authentication of WEBrick bundled by Ruby. When using the Basic authentication of WEBrick, clients can pass an arbitrary string as the user name. WEBrick outputs the passed user name intact to its log, then an attacker can inject malicious escape sequences to the log and dangerous control characters may be executed on a victim’s terminal emulator.

External References:

https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/

Red Hat

Credit

CVE-2017-0898, CVE-2017-10784, CVE-2017-14033, CVE-2017-14064, CVE-2017-17405, CVE-2017-17742, CVE-2018-6914, CVE-2018-8777, CVE-2018-8778, CVE-2018-8779, CVE-2018-8780

Affected Software

26 affected componentsFixes available
rubygems/webrick<1.4.0
1.4.0
debian/ruby1.8
debian/ruby1.9.1
debian/ruby2.1
redhat/ruby<2.2.8
2.2.8
redhat/ruby<2.3.5
2.3.5
redhat/ruby<2.4.2
2.4.2
ruby-lang ruby<=2.2.7
ruby-lang ruby=2.3.0
ruby-lang ruby=2.3.0-preview1
ruby-lang ruby=2.3.0-preview2
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-preview1
ruby-lang ruby=2.4.0-preview2
ruby-lang ruby=2.4.0-preview3
ruby-lang ruby=2.4.0-rc1
ruby-lang ruby=2.4.1
apple macOS Mojave<10.14.1
10.14.1
apple High Sierra
Apple Sierra
apple macOS High Sierra<10.13.6
10.13.6
apple El Capitan

Event History

Sep 16, 2017
Data Sourced
08:51 AM
SeverityAffected Software
Sep 19, 2017
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 14, 2022
Advisory Published
02:03 AM
Jan 11, 2024
Data Sourced
via Launchpad·10:24 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·07:39 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2017-10784?

CVE-2017-10784 is a vulnerability in the WEBrick library in Ruby that allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands.

2

How severe is CVE-2017-10784?

CVE-2017-10784 has a severity value of 8.8, which is classified as critical.

3

How can I fix CVE-2017-10784?

To fix CVE-2017-10784, update Ruby to version 2.2.8, 2.3.5, or higher.

4

Is my version of Ruby affected by CVE-2017-10784?

If you are using Ruby before version 2.2.8, 2.3.x before 2.3.5, or 2.4.x through 2.4.1, then your version is affected by CVE-2017-10784.

5

Where can I find more information about CVE-2017-10784?

You can find more information about CVE-2017-10784 in the National Vulnerability Database (NVD) and the Red Hat security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2017-10784 - Critical severity ruby-lang ruby vulnerability - SecAlerts