CVE-2021-33621: Fedoraproject Fedora
High severity, CVSS 8.8. EPSS: 3.1% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Ruby-Lang Cgi, before 0.1.0.2: fixed in 0.1.0.2
- Ruby-Lang Cgi, from 0.2.0, before 0.2.2: fixed in 0.2.2
- Ruby-Lang Cgi, from 0.3.0, before 0.3.5: fixed in 0.3.5
- Ruby-Lang Ruby, from 2.7.0, before 2.7.7: fixed in 2.7.7
- Ruby-Lang Ruby, from 3.0.0, before 3.0.5: fixed in 3.0.5
- Ruby-Lang Ruby, from 3.1.0, before 3.1.3: fixed in 3.1.3
Affected products
- Fedoraproject Fedora: version 35 only; version 36 only; version 37 only
- Ruby-Lang Cgi: before 0.1.0.2 (fixed in 0.1.0.2); from 0.2.0, before 0.2.2 (fixed in 0.2.2); from 0.3.0, before 0.3.5 (fixed in 0.3.5)
- Ruby-Lang Ruby: from 2.7.0, before 2.7.7 (fixed in 2.7.7); from 3.0.0, before 3.0.5 (fixed in 3.0.5); from 3.1.0, before 3.1.3 (fixed in 3.1.3)
Affected packages
- cgi (RubyGems)
Published 2022-11-18. Last modified 2026-06-17.