Security mailing lists by PureSourceCode

CVE-2021-33621

HIGH 8.8CVSS 3.1

HTTP response splitting in CGI

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.

Published
18 Nov 2022
Last modified
13 Aug 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-436CWE-74
Also known as
BIT-ruby-2021-33621BIT-ruby-min-2021-33621GHSA-vc47-6rqg-c7f5
Sources
NVDJSONOSV GHSA-vc47-6rqg-c7f5JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang cgi
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
< 0.1.0.2 0.1.0.2
NVD ruby-lang cgi
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
>= 0.2.0, < 0.2.2 0.2.2
NVD ruby-lang cgi
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
>= 0.3.0, < 0.3.5 0.3.5
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.7.0, < 2.7.7 2.7.7
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.5 3.0.5
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 3.1.0, < 3.1.3 3.1.3
OSV RubyGems cgi >= 0.3.0, < 0.3.5 0.3.5
OSV RubyGems cgi >= 0.2.0, < 0.2.2 0.2.2
OSV RubyGems cgi < 0.1.0.2 0.1.0.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 18 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.