All reports
High

HTTP response splitting in CGI

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
RubyGemscgi
Affected versions
>= 0.2.0, < 0.2.2
Fixed version
0.2.2
RubyGemscgi
Affected versions
< 0.1.0.2
Fixed version
0.1.0.2
RubyGemscgi
Affected versions
>= 0.3.0, < 0.3.5
Fixed version
0.3.5

Exploitation

CVE-2021-33621

Probability of exploitation in the next 30 days: 3.06%

FIRST EPSS · 2026-11-18

Description

Ruby gem cgi.rb prior to versions 0.3.5, 0.2.2 and 0.1.0.2 allow HTTP header injection. If a CGI application using the CGI library inserts untrusted input into the HTTP response header, an attacker can exploit it to insert a newline character to split a header, and inject malicious content to deceive clients. This issue has been patched in versions 0.3.5, 0.2.2 and 0.1.0.2.

Links

Credits

  • meineerde