---
title: "CVE-2021-33621"
canonical_url: "https://pkgseek.com/security/CVE-2021-33621"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2021-33621

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.

CVE-2021-33621 is rated HIGH (8.8), with 143 indexed affected package builds across 6 distributions.

- **Severity / Score**: HIGH (8.8)
- **Affected builds**: 143
- **Affected distros**: 6
- **Distros with fixed_in**: Alibaba Cloud Linux, AlmaLinux, Oracle Linux, Red Hat Enterprise Linux, Rocky Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | ruby | 2.5.9-110.0.1.al8 | 2.7.8-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | ruby-default-gems | 2.7.4-137.al8.1 | 2.7.8-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | ruby-devel | 2.5.9-110.0.1.al8 | 2.7.8-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | ruby-doc | 2.5.9-110.0.1.al8 | 2.7.8-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-bigdecimal | 1.3.4-110.0.1.al8 | 2.0.0-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-bundler | 2.2.24-137.al8.1 | 2.2.24-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-io-console | 0.4.6-110.0.1.al8 | 0.5.6-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-irb | 1.2.6-137.al8.1 | 1.2.6-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-json | 2.1.0-110.0.1.al8 | 2.3.0-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-minitest | 5.10.3-110.0.1.al8 | 5.13.0-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-net-telnet | 0.1.1-110.0.1.al8 | 0.2.0-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-openssl | 2.1.2-110.0.1.al8 | 2.1.4-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-power_assert | 1.1.1-110.0.1.al8 | 1.1.7-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-psych | 3.0.2-110.0.1.al8 | 3.1.0-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-rake | 12.3.3-110.0.1.al8 | 13.0.1-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-rdoc | 6.0.1.1-110.0.1.al8 | 6.2.1.1-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygems | 2.7.6.3-110.0.1.al8 | 3.1.6-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygems-devel | 2.7.6.3-110.0.1.al8 | 3.1.6-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-test-unit | 3.2.7-110.0.1.al8 | 3.3.4-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | rubygem-xmlrpc | 0.3.0-110.0.1.al8 | 0.3.0-139.0.1.al8 |
| Alibaba Cloud Linux | 3 | ruby-libs | 2.5.9-110.0.1.al8 | 2.7.8-139.0.1.al8 |
| AlmaLinux | 9 | ruby | 3.0.7-170.el9_8 | 3.1.4-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | ruby-default-gems | 3.0.7-170.el9_8 | 3.1.4-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | ruby-devel | 3.0.7-170.el9_8 | 3.1.4-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | rubygem-bigdecimal | 3.0.0-170.el9_8 | 3.1.4-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | rubygem-bundler | 2.2.33-170.el9_8 | 3.0.7-162.el9_4 |
| AlmaLinux | 9 | rubygem-io-console | 0.5.7-170.el9_8 | 3.0.7-162.el9_4 |
| AlmaLinux | 9 | rubygem-irb | 1.3.5-170.el9_8 | 3.0.7-162.el9_4 |
| AlmaLinux | 9 | rubygem-json | 2.5.1-170.el9_8 | 3.0.7-162.el9_4 |
| AlmaLinux | 9 | rubygem-minitest | 5.14.2-170.el9_8 | 5.15.0-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | rubygem-mysql2 | 0.5.3-12.el9 | 0.5.4-1.module_el9.1.0+8+503f6fbd |
| AlmaLinux | 9 | rubygem-pg | 1.2.3-7.el9 | 1.3.5-1.module_el9.1.0+8+503f6fbd |
| AlmaLinux | 9 | rubygem-power_assert | 1.2.1-170.el9_8 | 3.0.7-162.el9_4 |
| AlmaLinux | 9 | rubygem-psych | 3.3.2-170.el9_8 | 4.0.4-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | rubygem-racc | 1.8.1-36.module_el9.8.0+337+2e29b311 | 3.0.7-162.el9_4 |
| AlmaLinux | 9 | rubygem-rake | 13.0.3-170.el9_8 | 13.0.6-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | rubygem-rbs | 1.4.0-170.el9_8 | 3.0.7-162.el9_4 |
| AlmaLinux | 9 | rubygem-rdoc | 6.3.4.1-170.el9_8 | 6.4.0-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | rubygem-rss | 0.2.9-170.el9_8 | 3.0.7-162.el9_4 |
| AlmaLinux | 9 | rubygems | 3.2.33-170.el9_8 | 3.3.26-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | rubygems-devel | 3.2.33-170.el9_8 | 3.3.26-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | rubygem-test-unit | 3.3.7-170.el9_8 | 3.5.3-143.module_el9.3.0+60+5ebc989a |
| AlmaLinux | 9 | rubygem-typeprof | 0.15.2-170.el9_8 | 3.0.7-162.el9_4 |
| AlmaLinux | 9 | ruby-libs | 3.0.7-170.el9_8 | 3.1.4-143.module_el9.3.0+60+5ebc989a |
| Oracle Linux | 8 | ruby | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.1.7-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | ruby-bundled-gems | 3.1.5-144.module+el8.10.0+90462+7a5de0fa | 3.1.7-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | ruby-default-gems | 3.1.5-144.module+el8.10.0+90462+7a5de0fa | 3.1.7-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | ruby-devel | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.1.7-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | ruby-doc | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.1.7-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-abrt | 0.3.0-4.module+el8.10.0+90367+ae9e8511 | 0.4.0-1.module+el8.9.0+90182+7bdfc9e5 |
| Oracle Linux | 8 | rubygem-abrt-doc | 0.3.0-4.module+el8.10.0+90367+ae9e8511 | 0.4.0-1.module+el8.9.0+90182+7bdfc9e5 |
| Oracle Linux | 8 | rubygem-bigdecimal | 1.3.4-114.module+el8.10.0+91057+c9074c35 | 3.1.1-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-bson | 4.3.0-2.module+el8.9.0+90042+a65659a6 | 4.8.1-1.module+el8.4.0+20239+cbf59dc8 |
| Oracle Linux | 8 | rubygem-bson-doc | 4.3.0-2.module+el8.9.0+90042+a65659a6 | 4.8.1-1.module+el8.4.0+20239+cbf59dc8 |
| Oracle Linux | 8 | rubygem-bundler | 1.16.1-5.module+el8.10.0+90940+f98fa8f0 | 2.3.27-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-bundler-doc | 1.16.1-5.module+el8.10.0+90580+29305b94 | 1.16.1-5.module+el8.10.0+90940+f98fa8f0 |
| Oracle Linux | 8 | rubygem-did_you_mean | 1.2.0-114.module+el8.10.0+91057+c9074c35 | 1.2.0-114.module+el8.10.0+91146+5b4feace |
| Oracle Linux | 8 | rubygem-io-console | 0.4.6-114.module+el8.10.0+91057+c9074c35 | 0.5.7-143.module+el8.10.0+90343+d5e92a1d |
| Oracle Linux | 8 | rubygem-irb | 1.4.1-144.module+el8.10.0+90462+7a5de0fa | 1.4.1-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-json | 2.1.0-114.module+el8.10.0+91057+c9074c35 | 2.6.1-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-minitest | 5.10.3-114.module+el8.10.0+91057+c9074c35 | 5.15.0-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-mongo | 2.5.1-3.module+el8.10.0+91057+c9074c35 | 2.5.1-3.module+el8.10.0+91146+5b4feace |
| Oracle Linux | 8 | rubygem-mongo-doc | 2.5.1-3.module+el8.10.0+91057+c9074c35 | 2.5.1-3.module+el8.10.0+91146+5b4feace |
| Oracle Linux | 8 | rubygem-mysql2 | 0.5.3-2.module+el8.10.0+90343+d5e92a1d | 0.5.3-3.module+el8.9.0+90182+7bdfc9e5 |
| Oracle Linux | 8 | rubygem-mysql2-doc | 0.5.3-2.module+el8.10.0+90343+d5e92a1d | 0.5.3-3.module+el8.9.0+90182+7bdfc9e5 |
| Oracle Linux | 8 | rubygem-net-telnet | 0.1.1-114.module+el8.10.0+91057+c9074c35 | 0.2.0-139.module+el8.8.0+21111+2e34bf27 |
| Oracle Linux | 8 | rubygem-openssl | 2.1.2-114.module+el8.10.0+91057+c9074c35 | 2.1.4-139.module+el8.8.0+21111+2e34bf27 |
| Oracle Linux | 8 | rubygem-pg | 1.2.3-1.module+el8.10.0+90343+d5e92a1d | 1.3.2-1.module+el8.9.0+90182+7bdfc9e5 |
| Oracle Linux | 8 | rubygem-pg-doc | 1.2.3-1.module+el8.10.0+90343+d5e92a1d | 1.3.2-1.module+el8.9.0+90182+7bdfc9e5 |
| Oracle Linux | 8 | rubygem-power_assert | 1.1.1-114.module+el8.10.0+91057+c9074c35 | 2.0.1-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-psych | 3.0.2-114.module+el8.10.0+91057+c9074c35 | 4.0.4-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-rake | 12.3.3-114.module+el8.10.0+91057+c9074c35 | 13.0.6-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-rbs | 2.7.0-144.module+el8.10.0+90462+7a5de0fa | 2.7.0-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-rdoc | 6.0.1.1-114.module+el8.10.0+91057+c9074c35 | 6.4.1.1-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-rexml | 3.3.9-4.module+el8.10.0+90625+b4030d02 | 3.3.9-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-rss | 0.3.1-9.module+el8.10.0+91044+eb2de09c | 0.3.1-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygems | 2.7.6.3-114.module+el8.10.0+91057+c9074c35 | 3.3.27-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygems-devel | 2.7.6.3-114.module+el8.10.0+91057+c9074c35 | 3.3.27-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-test-unit | 3.2.7-114.module+el8.10.0+91057+c9074c35 | 3.5.3-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-typeprof | 0.21.3-144.module+el8.10.0+90462+7a5de0fa | 0.21.3-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 8 | rubygem-xmlrpc | 0.3.0-114.module+el8.10.0+91057+c9074c35 | 0.3.0-139.module+el8.8.0+21111+2e34bf27 |
| Oracle Linux | 8 | ruby-irb | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 2.5.9-114.module+el8.10.0+91146+5b4feace |
| Oracle Linux | 8 | ruby-libs | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.1.7-145.module+el8.10.0+90550+7d8a4a30 |
| Oracle Linux | 9 | ruby | 3.0.7-168.el9_8 | 3.1.4-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | ruby-bundled-gems | 3.1.2-141.module+el9.1.0+20815+286161bd | 3.1.4-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | ruby-default-gems | 3.0.7-168.el9_8 | 3.1.4-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | ruby-devel | 3.0.7-168.el9_8 | 3.1.4-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | ruby-doc | 3.1.2-141.module+el9.1.0+20815+286161bd | 3.1.4-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | rubygem-bigdecimal | 3.0.0-168.el9_8 | 3.1.1-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | rubygem-bundler | 2.2.33-168.el9_8 | 2.3.26-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | rubygem-io-console | 0.5.7-168.el9_8 | 0.5.7-162.el9_4 |
| Oracle Linux | 9 | rubygem-irb | 1.3.5-168.el9_8 | 1.4.1-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | rubygem-json | 2.5.1-168.el9_8 | 2.6.1-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | rubygem-minitest | 5.14.2-168.el9_8 | 5.15.0-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | rubygem-mysql2 | 0.5.3-12.el9 | 0.5.4-1.module+el9.1.0+20815+286161bd |
| Oracle Linux | 9 | rubygem-pg | 1.2.3-7.el9 | 1.3.5-1.module+el9.1.0+20815+286161bd |
| Oracle Linux | 9 | rubygem-power_assert | 1.2.1-168.el9_8 | 2.0.1-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | rubygem-psych | 3.3.2-168.el9_8 | 4.0.4-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | rubygem-rake | 13.0.3-168.el9_8 | 13.0.6-143.module+el9.3.0+90207+bf8fadcb |
| Oracle Linux | 9 | rubygem-rbs | 1.4.0-161.el9 | 2.7.0-143.module+el9.3.0+90207+bf8fadcb |

_Showing 100 of 143 total affected builds._
