GHSA-vc47-6rqg-c7f5

HTTP response splitting in CGI

En bref

Publiée
Mise à jour
CVE
CVE-2021-33621
Alias
BIT-ruby-2021-33621, BIT-ruby-min-2021-33621
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Paquets affectés

PaquetVersions
RubyGems · cgiintroduced 0.3.0, fixed 0.3.5
RubyGems · cgiintroduced 0.2.0, fixed 0.2.2
RubyGems · cgiintroduced 0, fixed 0.1.0.2

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database