Vulnerabilities · 2018 · Ruby-lang
CVE-2018-8777
Ruby-lang Ruby vulnerability
In Ruby 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, an attacker can pass a large HTTP request with a crafted header to WEBrick server or a crafted body to WEBrick server/handler and cause a denial of service (memory consumption).
Affected products
Ruby, Debian Linux, Ubuntu Linux, Enterprise Linux. 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/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/ · Vendor Advisory
- www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/ · Patch
- www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/ · Patch
- www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/ · Patch
- www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/ · Patch
- www.securityfocus.com/bid/103683 · Third Party Advisory
- www.securitytracker.com/id/1042004 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:3729 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-8777
- cve.org/CVERecord?id=CVE-2018-8777
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.