Ubuntu CVE Tracker
UBUNTU-CVE-2021-33621
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | ruby2.3 | All versions before 2.3.1-2~ubuntu16.04.16+esm4 (fixed in 2.3.1-2~ubuntu16.04.16+esm4) |
| Ubuntu:16.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:18.04:LTS | ruby2.5 | All versions before 2.5.1-1ubuntu1.13 (fixed in 2.5.1-1ubuntu1.13) |
| Ubuntu:18.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:20.04:LTS | ruby2.7 | All versions before 2.7.0-5ubuntu1.8 (fixed in 2.7.0-5ubuntu1.8) |
| Ubuntu:20.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:22.04:LTS | ruby3.0 | All versions before 3.0.2-7ubuntu2.3 (fixed in 3.0.2-7ubuntu2.3) |
| Ubuntu:24.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:25.10 | jruby | All versions, no fix listed |
| Ubuntu:26.10 | jruby | All versions, no fix listed |
| Ubuntu:26.04:LTS | jruby | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2021-33621
- https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/
- https://github.com/ruby/cgi/commit/64c5045c0a6b84fdb938a8465a0890e5f7162708
- https://github.com/ruby/cgi/commit/b46d41c36380e04f6388970b5ef05c687f4d1819
- https://ubuntu.com/security/notices/USN-5806-1
- https://ubuntu.com/security/notices/USN-5806-2
- https://ubuntu.com/security/notices/USN-5806-3
- https://ubuntu.com/security/notices/USN-6181-1
- https://www.cve.org/CVERecord?id=CVE-2021-33621