NetSight
hoch8.8

CVE-2021-33621

HTTP response splitting in CGI

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
rubygemscgi>= 0.3.0, < 0.3.50.3.5

Betroffene Produkte

HerstellerProduktBetroffene Versionen
FedoraprojectFedora
Versionen 35, 36, 37
Ruby-langCgi
vor 0.1.0.2
ab 0.2.0 vor 0.2.2
ab 0.3.0 vor 0.3.5
Ruby-langRuby
ab 2.7.0 vor 2.7.7
ab 3.0.0 vor 3.0.5
ab 3.1.0 vor 3.1.3

Schwachstellenklasse

Referenzen