VDB

CVE-2021-33621

CVE-2021-33621 PUBLISHED CVSS 8.800000190734863 HIGH

HTTP response splitting in CGI

Reported by mitre · Published November 18, 2022

cgi is fixed in 0.3.5, 0.2.2 and 0.1.0.2 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
cgiRubyGems0.3.5, 0.2.2, 0.1.0.2
rubygems-develerrata.rockylinux.org0:2.7.6.3-111.module+el8.9.0+1536+5f79634e.noarch
rubygem-json-debuginfoerrata.rockylinux.org0:2.1.0-111.module+el8.9.0+1536+5f79634e.aarch64
rubygem-net-telneterrata.rockylinux.org0:0.1.1-111.module+el8.9.0+1536+5f79634e.noarch
rubygem-mysql2errata.rockylinux.org0:0.4.10-4.module+el8.9.0+1536+5f79634e.x86_64, 0:0.4.10-4.module+el8.9.0+1536+5f79634e.src
rubygem-bson-docerrata.rockylinux.org0:4.3.0-2.module+el8.9.0+1536+5f79634e.noarch
rubygem-bigdecimal-debuginfoerrata.rockylinux.org0:1.3.4-111.module+el8.9.0+1536+5f79634e.x86_64, 0:1.3.4-111.module+el8.9.0+1536+5f79634e.i686
rubygem-bsonerrata.rockylinux.org0:4.3.0-2.module+el8.9.0+1536+5f79634e.src, 0:4.3.0-2.module+el8.9.0+1536+5f79634e.aarch64
rubygem-pgerrata.rockylinux.org0:1.0.0-3.module+el8.9.0+1536+5f79634e.x86_64, 0:1.0.0-3.module+el8.9.0+1536+5f79634e.src
rubygem-test-uniterrata.rockylinux.org0:3.2.7-111.module+el8.9.0+1536+5f79634e.noarch
ruby-debugsourceerrata.rockylinux.org0:2.5.9-111.module+el8.9.0+1536+5f79634e.x86_64, 0:2.5.9-111.module+el8.9.0+1536+5f79634e.i686
ruby-irberrata.rockylinux.org0:2.5.9-111.module+el8.9.0+1536+5f79634e.noarch

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
amazon:2ruby-irb0
chainguardruby-3.00
amazon:2rubygem-json0
amazon:2ruby-devel0
amazon:2rubygem-io-console0
amazon:2rubygems-devel0
amazon:2ruby-tcltk0
amazon:2ruby-libs0
amazon:2rubygem-rake0
amazon:2rubygem-rdoc0
amazon:2rubygems0
amazon:2ruby0
RubyGemscgi0.3.0, 0.2.0, 0
alpineruby0, 0, 0
amazon:2rubygem-psych0
wolfiruby-3.00
amazon:2ruby-doc0
amazon:2rubygem-bigdecimal0

…and 1 more

Timeline

  • Nov 18, 2022 CVE Published
  • Nov 22, 2022 EPSS Score (30 in total, the first dated here)
  • Nov 24, 2022 PoC Published (4 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (13 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (15 in total, the first dated here)
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-33621
vulnetix vdb fixes CVE-2021-33621

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-33621/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›