REDHAT-BUG-2149706: Medium severity ruby cgi gem vulnerability

Published Nov 30, 2022
·
Updated

cgi.rb in Ruby through 2.6.x, through 3.0x, and through 3.1.x allows 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.

References: https://www.ruby-lang.org/en/security/ https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/ https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2021-33621.yml https://github.com/ruby/cgi/compare/v0.1.0.1...v0.1.0.2

Affected Software

1 affected component
Ruby CGI<=2.6.x, <=3.0.x, <=3.1.x

Event History

Nov 30, 2022
Data Sourced
via Red Hat·04:50 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2149706?

The severity of REDHAT-BUG-2149706 is considered critical due to the potential for HTTP header injection leading to security compromises.

2

How do I fix REDHAT-BUG-2149706?

To fix REDHAT-BUG-2149706, update Ruby CGI to a version beyond 3.1.x that resolves the vulnerability.

3

What versions of Ruby are affected by REDHAT-BUG-2149706?

Ruby versions 2.6.x, 3.0.x, and 3.1.x are affected by REDHAT-BUG-2149706.

4

What types of attacks are possible with REDHAT-BUG-2149706?

Exploiting REDHAT-BUG-2149706 can allow attackers to conduct HTTP response splitting attacks that may lead to content injection or web cache poisoning.

5

Is user input a factor in REDHAT-BUG-2149706?

Yes, untrusted user input being inserted into HTTP response headers is a key factor in the exploitation of REDHAT-BUG-2149706.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203