Skip to main content
No exploitation reportedFix available

CVE-2021-33621

No exploitation reported by the sources we read.

  • Published2022-11-18
  • WeaknessCWE-74

Am I 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
  1. 2022-11-1823:15CVE publishedNVD

Versions per branch

NVD · OSV
Fedoraproject fedora
BranchAffectedFixed in
35.x= 35no fix published
36.x= 36no fix published
37.x= 37no fix published
Ruby
BranchAffectedFixed in
3.1≥ 3.1.0, < 3.1.33.1.3
3.0≥ 3.0.0, < 3.0.53.0.5
2.7≥ 2.7.0, < 2.7.72.7.7
Ruby-lang cgi
BranchAffectedFixed in
0.3≥ 0.3.0, < 0.3.50.3.5
0.2≥ 0.2.0, < 0.2.20.2.2
0.1< 0.1.0.20.1.0.2

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

  • CVE-2021-33621 Red Hat Product Security904 products fixed · 48 known affected

    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

  • RHSA-2024:4542 Red Hat Product Security82 products fixed

    Red Hat Security Advisory: ruby security update

  • RHSA-2024:3838 Red Hat Product Security82 products fixed

    Red Hat Security Advisory: ruby security update

  • RHSA-2024:3500 Red Hat Product Security117 products fixed

    Red Hat Security Advisory: ruby:3.0 security update

  • RHSA-2024:1576 Red Hat Product Security133 products fixed

    Red Hat Security Advisory: ruby:3.1 security, bug fix, and enhancement update

  • RHSA-2024:1431 Red Hat Product Security136 products fixed

    Red Hat Security Advisory: ruby:3.1 security, bug fix, and enhancement update

3 more advisories

Full record on NVD

Fix

  1. 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
  2. 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
  3. 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
  4. No fix planned, says the vendor Red Hat Product Security CVE-2021-33621 · 26 productsOut of support scope
  5. 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
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2021-33621 actively exploited?

Active exploitation of CVE-2021-33621 has not been confirmed. Its EPSS score was 3.1% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-33621?

CVE-2021-33621 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record