CVE-2011-3186: Code Injection

Published Aug 20, 2011
·
Updated

A response splitting flaw in Ruby on Rails 2.3.x was reported [1] that could allow a remote attacker to inject arbitrary HTTP headers into a response due to insufficient sanitization of the values provided for response content types.

This is corrected in upstream 2.3.13 (3.0.0 and later are not vulnerable). Patches are available in the advisory [1] and git [2].

[1] http://groups.google.com/group/rubyonrails-security/browsethread/thread/6ffc93bde0298768 [2] https://github.com/rails/rails/commit/11dafeaa7533be26441a63618be93a03869c83a9

Other sources

CRLF injection vulnerability in actionpack/lib/actioncontroller/response.rb in Ruby on Rails 2.3.x before 2.3.13 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via the Content-Type header.

CRLF injection vulnerability in actionpack/lib/actioncontroller/response.rb in Ruby on Rails 2.3.x before 2.3.13 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via the Content-Type header.

MITRE

Affected Software

10 affected componentsFixes available
rubygems/actionpack>=2.3.0<2.3.13
2.3.13
redhat/rubygem-actionpack<2.3.13
2.3.13
redhat/rubygem-actionpack<3.0.0
3.0.0
rubyonrails Rails=2.3.2
rubyonrails Rails=2.3.3
rubyonrails Rails=2.3.4
rubyonrails Rails=2.3.9
rubyonrails Rails=2.3.10
rubyonrails Rails=2.3.11
rubyonrails Rails=2.3.12

Event History

Aug 29, 2011
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Oct 24, 2017
Advisory Published
06:33 PM

Frequently Asked Questions

1

What is the severity of CVE-2011-3186?

CVE-2011-3186 is classified as a medium severity vulnerability due to its potential for remote exploitation.

2

How do I fix CVE-2011-3186?

To fix CVE-2011-3186, upgrade Ruby on Rails to version 2.3.13 or later.

3

What versions are affected by CVE-2011-3186?

CVE-2011-3186 affects Ruby on Rails versions 2.3.0 through 2.3.12.

4

Can CVE-2011-3186 be exploited remotely?

Yes, CVE-2011-3186 can be exploited remotely due to the response splitting flaw.

5

What types of applications are vulnerable to CVE-2011-3186?

Applications using Ruby on Rails versions 2.3.x prior to 2.3.13 are vulnerable to CVE-2011-3186.

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