
CVE catalog
CVE-2021-33621
ruby3.1: CVE-2021-33621
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.45% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby3.1 | bookworm | 3.1.2-7+deb12u1 | fixed |
| Debian | ruby3.1 | bookworm-security | 3.1.2-7+deb12u1 | fixed |
| Alpine | ruby | 3.14 | 2.7.7-r0 | fixed |
| Alpine | ruby | 3.15 | 3.0.5-r0 | fixed |
| Alpine | ruby | 3.16 | 3.1.3-r0 | fixed |
| Alpine | ruby | 3.17 | 3.1.3-r0 | fixed |
| Alpine | ruby | 3.18 | 3.1.3-r0 | fixed |
| Alpine | ruby | 3.19 | 3.1.3-r0 | fixed |
| Alpine | ruby | 3.20 | 3.1.3-r0 | fixed |
| Alpine | ruby | 3.21 | 3.1.3-r0 | fixed |
| Alpine | ruby | 3.22 | 3.1.3-r0 | fixed |
| Alpine | ruby | 3.23 | 3.1.3-r0 | fixed |
| Alpine | ruby | 3.24 | 3.1.3-r0 | fixed |
| Ubuntu | ruby2.3 | pro | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.2 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.4 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.5 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.6 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.7 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.9 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.10 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.11 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.12 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.13 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.14 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.15 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.16 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.16+esm1 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.16+esm2 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.16+esm3 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.16+esm4 | fixed |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0~preview1-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu4 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-6ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.2 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.4 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.5 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.6 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.7 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.8 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.9 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.10 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.11 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.12 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.13 | fixed |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-5ubuntu1 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.1 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.2 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.3 | fixed |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-2 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-3 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-4 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.2 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.3 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.4 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.5 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.6 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.7 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.8 | fixed |
| Suse | ruby2.5 | linux enterprise module for basesystem 15 sp4 | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise module for basesystem 15 sp5 | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise high performance computing 15 sp1-ltss | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise high performance computing 15 sp2-ltss | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise high performance computing 15 sp3-espos | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise high performance computing 15 sp3-ltss | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise server 15 sp1-ltss | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise server 15 sp2-ltss | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise server 15 sp3-ltss | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise server for sap applications 15 sp1 | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise server for sap applications 15 sp2 | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | linux enterprise server for sap applications 15 sp3 | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | manager proxy 4.2 | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | manager server 4.2 | 2.5.9-150000.4.29.1 | fixed |
| Suse | ruby2.5 | enterprise storage 7.1 | 2.5.9-150000.4.29.1 | fixed |
| Opensuse | ruby2.5 | leap 15.4 | 2.5.9-150000.4.29.1 | fixed |
| Opensuse | ruby2.5 | leap 15.5 | 2.5.9-150000.4.29.1 | fixed |
| Opensuse | ruby3.1 | tumbleweed | 3.1.3-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby3.1 | source | bookworm | 3.1.2-4 | not yet assigned | Not reported | [1024799] |
| Alpine | ruby | apk | 3.14 | 2.7.7-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.15 | 3.0.5-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.16 | 3.1.3-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.17 | 3.1.3-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.18 | 3.1.3-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.19 | 3.1.3-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.20 | 3.1.3-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.21 | 3.1.3-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.22 | 3.1.3-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.23 | 3.1.3-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Alpine | ruby | apk | 3.24 | 3.1.3-r0 | Not reported | ALPINE-CVE-2021-33621 | Not reported |
| Ubuntu | ruby2.3 | deb | pro | 2.3.1-2~ubuntu16.04.16+esm4 | Not reported | USN-5806-1 | Not reported |
| Ubuntu | ruby2.5 | deb | 18.04 | 2.5.1-1ubuntu1.13 | Not reported | USN-5806-2 | Not reported |
| Ubuntu | ruby3.0 | deb | 22.04 | 3.0.2-7ubuntu2.3 | Not reported | USN-5806-2 | Not reported |
| Ubuntu | ruby2.7 | deb | 20.04 | 2.7.0-5ubuntu1.8 | Not reported | USN-5806-3 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise module for basesystem 15 sp4 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise module for basesystem 15 sp5 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise high performance computing 15 sp1-ltss | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise high performance computing 15 sp2-ltss | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise high performance computing 15 sp3-espos | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise high performance computing 15 sp3-ltss | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise server 15 sp1-ltss | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise server 15 sp2-ltss | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise server 15 sp3-ltss | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise server for sap applications 15 sp1 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise server for sap applications 15 sp2 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise server for sap applications 15 sp3 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | manager proxy 4.2 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | manager server 4.2 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Suse | ruby2.5 | rpm | enterprise storage 7.1 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Opensuse | ruby2.5 | rpm | leap 15.4 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Opensuse | ruby2.5 | rpm | leap 15.5 | 2.5.9-150000.4.29.1 | Not reported | SUSE-SU-2023:4176-1 | Not reported |
| Opensuse | ruby3.1 | rpm | tumbleweed | 3.1.3-1.1 | Not reported | OPENSUSE-SU-2024:12539-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libruby3.1]Fixed
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
- [ruby3.1]Fixed
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
- [ruby3.1-dev]Fixed
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
- [ruby3.1-doc]Fixed
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· all · bookwormFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookwormFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityFixed · Fixed:
3.1.2-4dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_3821.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-33621]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-33621]
- [https://osv.dev/vulnerability/DLA-3450-1]
- [https://osv.dev/vulnerability/DLA-3858-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4176-1]
- [https://osv.dev/vulnerability/USN-5806-1]
- [https://osv.dev/vulnerability/USN-5806-2]
- [https://osv.dev/vulnerability/USN-5806-3]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12539-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-33621]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-33621.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-2173.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]