cve.bz

CVE-2019-16254 Injection

5.3 mediumEPSS 4.6%

Medium (5.3). EPSS 4.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
4.6% (unchanged from 4.6% a week ago; 4.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-16254 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-16254?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-16254?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-16254 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:rubythrough 2.3.0
ruby-lang:rubyfrom 2.4.0 through 2.4.7
ruby-lang:rubyfrom 2.5.0 through 2.5.6
ruby-lang:rubyfrom 2.6.0 through 2.6.4
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8jruby1.5.6-9+deb8u2DLA-2027-1
Debian8ruby2.12.1.5-2+deb8u8DLA-2007-1
Debian9jruby1.7.26-1+deb9u2DLA-2330-1
Debian9ruby2.32.3.3-1+deb9u7DSA-4587-1
Debian10jruby9.1.17.0-3+deb10u1DLA-3408-1
Debian10ruby2.52.5.5-3+deb10u1DSA-4586-1
Debian12, 13, 14jruby9.3.9.0+ds-1DEBIAN-CVE-2019-16254
Ubuntu16.04:LTSruby2.32.3.1-2~ubuntu16.04.14UBUNTU-CVE-2019-16254 USN-4201-1
Ubuntu18.04:LTSruby2.52.5.1-1ubuntu1.6UBUNTU-CVE-2019-16254 USN-4201-1
UbuntuPro:14.04:LTSjruby1.5.6-9+deb8u2build0.14.04.1~esm2UBUNTU-CVE-2019-16254
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-107.module+el8.4.0+10822+fe4fffb1RHSA-2021:2587
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 4 more0:2.6.7-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.1.0+3653+beb38eb0RHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.1.0+3656+f80bfa1dRHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-107.module+el8.4.0+10822+fe4fffb1RHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.4.1-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.3.0-2.module+el8.1.0+3656+f80bfa1dRHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.5.0-1.module+el8.1.0+3653+beb38eb0RHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-bundler0:1.17.2-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-bundler, rubygem-bundler-doc0:1.16.1-3.module+el8.1.0+3656+f80bfa1dRHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.2.0-107.module+el8.4.0+10822+fe4fffb1RHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.3.0-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
110 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 moreruby2.12.1.9-19.3.2SUSE-SU-2020:1570-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 2 moreruby2.52.5.7-4.8.1SUSE-SU-2020:0737-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 moreyast2-ruby-bindings3.1.53-9.8.1SUSE-SU-2020:1570-1
openSUSELeap 15.1ruby2.52.5.7-lp151.4.6.1openSUSE-SU-2020:0395-1
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+259+8cec6917ALSA-2021:2587 ALSA-2021:2588
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2623+08a8ba32ALSA-2021:2587 ALSA-2021:2588
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2021:2587
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+259+8cec6917ALSA-2021:2587
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2021:2587
AlmaLinux8rubygem-bson, rubygem-bson-doc4.5.0-1.module_el8.5.0+250+ba22dbf7ALSA-2021:2588
AlmaLinux8rubygem-bson, rubygem-bson-doc4.5.0-1.module_el8.5.0+2623+08a8ba32ALSA-2021:2588
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.5.1-2.module_el8.5.0+259+8cec6917ALSA-2021:2587
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.5.1-2.module_el8.5.0+2625+ec418553ALSA-2021:2587
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.8.0-1.module_el8.5.0+250+ba22dbf7ALSA-2021:2588
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.8.0-1.module_el8.5.0+2623+08a8ba32ALSA-2021:2588
AlmaLinux8rubygem-mysql2, rubygem-mysql2-doc0.4.10-4.module_el8.5.0+259+8cec6917ALSA-2021:2587
7 more for AlmaLinux in the JSON.
Rocky Linux8ruby0:2.5.9-107.module+el8.4.0+592+03ff458aRLSA-2021:2587
Rocky Linux8ruby0:2.6.7-107.module+el8.4.0+593+8d7f9f0cRLSA-2021:2588
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.3.0+167+5c390590RLSA-2021:2587 RLSA-2021:2588
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.4.0+592+03ff458aRLSA-2021:2587 RLSA-2021:2588
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2021:2587 RLSA-2021:2588
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.3.0+167+5c390590RLSA-2021:2587
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.4.0+592+03ff458aRLSA-2021:2587
Rocky Linux8rubygem-bson0:4.5.0-1.module+el8.4.0+446+80b53620RLSA-2021:2588
Rocky Linux8rubygem-bson0:4.5.0-1.module+el8.4.0+593+8d7f9f0cRLSA-2021:2588
Rocky Linux8rubygem-bundler0:1.16.1-3.module+el8.3.0+167+5c390590RLSA-2021:2587
Rocky Linux8rubygem-bundler0:1.16.1-3.module+el8.4.0+592+03ff458aRLSA-2021:2587
Rocky Linux8rubygem-mongo0:2.5.1-2.module+el8.4.0+349+3470f258RLSA-2021:2587
14 more for Rocky Linux in the JSON.
Alpinev3.7ruby2.4.10-r0ALPINE-CVE-2019-16254
Alpinev3.8, v3.9, v3.10ruby2.5.7-r0ALPINE-CVE-2019-16254
Alpinev3.11, v3.12, v3.13 and 11 moreruby2.6.5-r0ALPINE-CVE-2019-16254

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ruby:2.5-8040020200923213910.522a0ee4Fixed 2021-06-29RHSA-2021:2587
Red Hat Enterprise Linux 8ruby:2.6-8040020210430142949.522a0ee4Fixed 2021-06-29RHSA-2021:2588
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsruby:2.6-8010020220201152941.c27ad7f8Fixed 2022-02-21RHSA-2022:0581
Red Hat Enterprise Linux 8.2 Extended Update Supportruby:2.6-8020020220201131207.4cda2c84Fixed 2022-02-21RHSA-2022:0582
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby25-ruby-0:2.5.9-9.el7Fixed 2021-05-26RHSA-2021:2104
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby26-ruby-0:2.6.7-119.el7Fixed 2021-06-03RHSA-2021:2230
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-ruby25-ruby-0:2.5.9-9.el7Fixed 2021-05-26RHSA-2021:2104
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-ruby25-ruby-0:2.5.9-9.el7Fixed 2021-05-26RHSA-2021:2104
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-ruby26-ruby-0:2.6.7-119.el7Fixed 2021-06-03RHSA-2021:2230
Red Hat Hardened Imagesruby3-3-main-3.3.10-23.1.hum1Fixed 2026-04-09RHSA-2026:7305
Red Hat Hardened Imagesruby3-4-main-3.4.8-31.1.hum1Fixed 2026-04-09RHSA-2026:7307
Red Hat Hardened Imagesruby4-0-main-4.0.0-33.3.hum1Fixed 2026-04-17RHSA-2026:8838
Red Hat 3scale API Management Platform 23amp-systemFix deferred
Red Hat Enterprise Linux 5rubyOut of support scope
Red Hat Enterprise Linux 6rubyOut of support scope
Red Hat Enterprise Linux 7rubyFix deferred
Red Hat Software Collectionsrh-ruby24-rubyFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-16254.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON