Vulnerabilities · 2019 · Ruby-lang
CVE-2019-16254
Ruby-lang Ruby vulnerability
Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows HTTP Response Splitting. If a program using WEBrick inserts untrusted input into the response header, an attacker can exploit it to insert a newline character to split a header, and inject malicious content to deceive clients. NOTE: this issue exists because of an incomplete fix for CVE-2017-17742, which addressed the CRLF vector, but did not address an isolated CR or an isolated LF.
Affected products
Ruby, Debian 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/ja/news/2019/10/01/http-response-splitting-in-webrick-cve-2019-16254/ · Vendor Advisory
- www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/ · Vendor Advisory
- www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/ · Vendor Advisory
- www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ · Vendor Advisory
- hackerone.com/reports/331984 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/11/msg00025.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
- lists.debian.org/debian-lts-announce/2019/12/msg00009.html
- nvd.nist.gov/vuln/detail/CVE-2019-16254
- cve.org/CVERecord?id=CVE-2019-16254
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.