7.5
CWE
400
Advisory Published
CVE Published
Updated

CVE-2018-8777

First published: Thu Mar 29 2018(Updated: )

If an attacker sends a large request which contains huge HTTP headers, WEBrick try to process it on memory, so the request causes the out-of-memory DoS attack. Affected versions: Ruby 2.2 series: 2.2.9 and earlier Ruby 2.3 series: 2.3.6 and earlier Ruby 2.4 series: 2.4.3 and earlier Ruby 2.5 series: 2.5.0 and earlier External References: <a href="https://www.ruby-lang.org/en/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/">https://www.ruby-lang.org/en/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/</a>

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 cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/ruby<2.2.10
2.2.10
redhat/ruby<2.3.7
2.3.7
redhat/ruby<2.4.4
2.4.4
redhat/ruby<2.5.1
2.5.1
debian/ruby1.8
debian/ruby1.9.1
debian/ruby2.1
debian/ruby2.5
Ruby>=2.2.0<2.2.10
Ruby>=2.3.0<2.3.7
Ruby>=2.4.0<2.4.4
Ruby>=2.5.0<2.5.1
Ruby=2.6.0-preview1
Debian GNU/Linux=7.0
Debian GNU/Linux=8.0
Debian GNU/Linux=9.0
Ubuntu Linux=14.04
Ubuntu Linux=16.04
Ubuntu Linux=17.10
Red Hat Enterprise Linux=6.0
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=7.4
Red Hat Enterprise Linux=7.5
Red Hat Enterprise Linux=7.6
macOS Mojave<10.14.1
10.14.1
macOS High Sierra
macOS High Sierra
macOS High Sierra<10.13.6
10.13.6
Apple El Capitan
Debian=7.0
Debian=8.0
Debian=9.0
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=17.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2018-8777?

    The severity of CVE-2018-8777 is high with a severity value of 7.5.

  • How can an attacker exploit CVE-2018-8777?

    An attacker can exploit CVE-2018-8777 by sending a large HTTP request with a crafted header to a WEBrick server or a crafted body to a WEBrick server/handler, causing a denial of service (memory consumption).

  • Which versions of Ruby are affected by CVE-2018-8777?

    Ruby versions before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1 are affected by CVE-2018-8777.

  • How do I fix the vulnerability CVE-2018-8777 in Ruby?

    To fix the vulnerability CVE-2018-8777 in Ruby, update to version 2.2.10, 2.3.7, 2.4.4, 2.5.1, or a later version.

  • Where can I find more information about CVE-2018-8777?

    You can find more information about CVE-2018-8777 at the following references: [1] [2] [3]

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203