CVE-2021-33621
No exploitation reported by the sources we read.
- Published2022-11-18
- WeaknessCWE-74
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-11-1823:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 35.x | = 35 | no fix published | NVD |
| 36.x | = 36 | no fix published | NVD |
| 37.x | = 37 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.1 | ≥ 3.1.0, < 3.1.3 | 3.1.3 | NVD · OSV |
| 3.0 | ≥ 3.0.0, < 3.0.5 | 3.0.5 | NVD · OSV |
| 2.7 | ≥ 2.7.0, < 2.7.7 | 2.7.7 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.3 | ≥ 0.3.0, < 0.3.5 | 0.3.5 | NVD · OSV |
| 0.2 | ≥ 0.2.0, < 0.2.2 | 0.2.2 | NVD · OSV |
| 0.1 | < 0.1.0.2 | 0.1.0.2 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- jrubyUbuntu:Pro:14.04:LTSall versions · no fixed version listed
- jrubyUbuntu:26.10all versions · no fixed version listed
- jrubyUbuntu:26.04:LTSall versions · no fixed version listed
- jrubyUbuntu:25.10all versions · no fixed version listed
- jrubyUbuntu:24.04:LTSall versions · no fixed version listed
- jrubyUbuntu:20.04:LTSall versions · no fixed version listed
- jrubyUbuntu:18.04:LTSall versions · no fixed version listed
- jrubyUbuntu:16.04:LTSall versions · no fixed version listed
353 more package ranges on OSV.dev
Vendor advisories
ruby/cgi-gem: HTTP response splitting in CGI
ruby as a component of Red Hat Enterprise Linux 6 · ruby-devel as a component of Red Hat Enterprise Linux 6 · ruby-docs as a component of Red Hat Enterprise Linux 6 · +45 more
Red Hat Security Advisory: ruby security update
Red Hat Security Advisory: ruby security update
Red Hat Security Advisory: ruby:3.0 security update
Red Hat Security Advisory: ruby:3.1 security, bug fix, and enhancement update
Red Hat Security Advisory: ruby:3.1 security, bug fix, and enhancement update
3 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2024:4542 · 82 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:3500 · 117 productsFor details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:1576 · 133 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- No fix planned, says the vendor Red Hat Product Security CVE-2021-33621 · 26 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2021-33621 · 22 productsWill not fix
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.18.8read 2026-10-23
- NVDweakness (CWE)CWE-74read 2026-10-23
- FIRST EPSSEPSS score3.1 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2022-11-24
Identifiers
- BIT-ruby-2021-33621same flawBitnami · Apache-2.0
- BIT-ruby-min-2021-33621same flawBitnami · Apache-2.0
- EUVD-2022-7435same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-vc47-6rqg-c7f5same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1286same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2023:3821advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:7025advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:1431advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:1576advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:3500advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:3838advisory covering several CVEsAlmaLinux · MIT
- DLA-3450-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3858-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2022-0454advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1003advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12539-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:3291advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:3821advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:7025advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:1431advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:1576advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3500advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3838advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4542advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2023:3821advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:7025advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:1431advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:1576advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2023:4176-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5806-1advisory covering several CVEsUbuntu
- USN-5806-2advisory covering several CVEsUbuntu
- USN-5806-3advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2022-11-18
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-vc47-6rqg-c7f5
Frequently asked questions
What is CVE-2021-33621?
Is CVE-2021-33621 actively exploited?
What is the CVSS score for CVE-2021-33621?
Running cgi? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-vc47-6rqg-c7f5
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0