Arbitrary Code Injection Affecting ruby2.5 package, versions <2.5.9-150000.4.29.1
Threat Intelligence
EPSS
0.52% (78th
percentile)
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-6033866
- published 25 Oct 2023
- disclosed 24 Oct 2023
Introduced: 24 Oct 2023
CVE-2021-33621 Open this link in a new tabHow to fix?
Upgrade SLES:15.1 ruby2.5 to version 2.5.9-150000.4.29.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.
The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting. This is relevant to applications that use untrusted user input either to generate an HTTP response or to create a CGI::Cookie object.
References
- https://www.suse.com/security/cve/CVE-2021-33621.html
- https://bugzilla.suse.com/1205726
- https://hackerone.com/reports/1204695
- https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YACE6ORF2QBXXBK2V2CM36D7TZMEJVAS/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DQR7LWED6VAPD5ATYOBZIGJQPCUBRJBX/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/THVTYHHEOVLQFCFHWURZYO7PVUPBHRZD/
- https://security.netapp.com/advisory/ntap-20221228-0004/
- https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DQR7LWED6VAPD5ATYOBZIGJQPCUBRJBX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/THVTYHHEOVLQFCFHWURZYO7PVUPBHRZD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YACE6ORF2QBXXBK2V2CM36D7TZMEJVAS/
- https://security.gentoo.org/glsa/202401-27
CVSS Scores
version 3.1