CVE-2021-33621 — HTTP response splitting in cgi — CVE Details
HTTP response splitting in CGI
Summary
Advisory Timeline
- First published November 19, 2022 (1423 days ago).
- Last revised August 13, 2026 — 1364 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install cgi -v 0.1.0.2
gem install cgi -v 0.3.5
gem install cgi -v 0.2.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-436
- CWE-74
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33621ADVISORY
- https://hackerone.com/reports/1204695WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2021-33621.ymlWEB
- https://lists.debian.org/debian-lts-announce/2023/06/msg00012.htmlWEB
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.htmlWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DQR7LWED6VAPD5ATYOBZIGJQPCUBRJBXWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/THVTYHHEOVLQFCFHWURZYO7PVUPBHRZDWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YACE6ORF2QBXXBK2V2CM36D7TZMEJVASWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DQR7LWED6VAPD5ATYOBZIGJQPCUBRJBXWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/THVTYHHEOVLQFCFHWURZYO7PVUPBHRZDWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YACE6ORF2QBXXBK2V2CM36D7TZMEJVASWEB
- https://security.gentoo.org/glsa/202401-27WEB
- https://security.netapp.com/advisory/ntap-20221228-0004WEB
- https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621WEB
Frequently Asked Questions
- What is CVE-2021-33621?
- HTTP response splitting in CGI This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2021-33621?
- CVE-2021-33621 affects cgi. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-33621 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2021-41816CRITICAL
Buffer overrun in CGI.escape_html
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2021-41819HIGH
Cookie Prefix Spoofing in CGI::Cookie.parse
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
- CVE-2025-27219MEDIUM
CGI has Denial of Service (DoS) potential in Cookie.parse
- CVE-2025-27220MEDIUM
CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies