CVE-2021-33621
High
Description
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.
SeverityHigh
CVSS8.8
Exploit probability—
Product
Ruby
PublishedNov 18, 2022
First seenNov 18, 2022
How to fix
Update
- ruby-lang ruby2.7.7, 3.0.5, 3.1.3 or later
- ruby-lang cgi0.1.0.2, 0.2.2, 0.3.5 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DQR7LWED6VAPD5ATYOBZIGJQPCUBRJBX/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YACE6ORF2QBXXBK2V2CM36D7TZMEJVAS/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/THVTYHHEOVLQFCFHWURZYO7PVUPBHRZD/
- security.gentoo.org/glsa/202401-27
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang ruby | 2.7.0 ≤ v < 2.7.7, 3.0.0 ≤ v < 3.0.5, 3.1.0 ≤ v < 3.1.3 | 2.7.7, 3.0.5, 3.1.3 |
| ruby-lang cgi | v < 0.1.0.2, 0.2.0 ≤ v < 0.2.2, 0.3.0 ≤ v < 0.3.5 | 0.1.0.2, 0.2.2, 0.3.5 |
| fedoraproject fedora | 35, 36, 37 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.