Arbitrary Code Injection Affecting ruby2.5 package, versions <2.5.7-4.8.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES151-RUBY25-2714308
- published 14 Apr 2022
- disclosed 20 Mar 2020
Introduced: 20 Mar 2020
CVE-2019-16254 Open this link in a new tabHow to fix?
Upgrade SLES:15.1 ruby2.5 to version 2.5.7-4.8.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby2.5 package and not the ruby2.5 package as distributed by SLES.
See How to fix? for SLES:15.1 relevant fixed versions and status.
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.
References
- https://www.suse.com/security/cve/CVE-2019-16254.html
- https://bugzilla.suse.com/1152992
- https://bugzilla.suse.com/1165402
- https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/
- https://hackerone.com/reports/331984
- https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/
- https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/
- https://www.ruby-lang.org/ja/news/2019/10/01/http-response-splitting-in-webrick-cve-2019-16254/
- https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html
- https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html
- https://seclists.org/bugtraq/2019/Dec/32
- https://seclists.org/bugtraq/2019/Dec/31
- https://www.debian.org/security/2019/dsa-4587
- https://www.debian.org/security/2019/dsa-4586
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://security.gentoo.org/glsa/202003-06
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html