Live threats

All CVEs / Ruby-lang

CVE-2019-16254Ruby-lang Ruby

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
4.7%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Nov 26, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby≤ 2.3.0
ruby-langruby≥ 2.4.0 ≤ 2.4.7
ruby-langruby≥ 2.5.0 ≤ 2.5.6
ruby-langruby≥ 2.6.0 ≤ 2.6.4
debiandebian_linux8.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.