CWE
94 93
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2011-3186: Code Injection

First published: Sat 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] <a href="http://groups.google.com/group/rubyonrails-security/browse_thread/thread/6ffc93bde0298768">http://groups.google.com/group/rubyonrails-security/browse_thread/thread/6ffc93bde0298768</a> [2] <a href="https://github.com/rails/rails/commit/11dafeaa7533be26441a63618be93a03869c83a9">https://github.com/rails/rails/commit/11dafeaa7533be26441a63618be93a03869c83a9</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
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
Ruby on Rails=2.3.2
Ruby on Rails=2.3.3
Ruby on Rails=2.3.4
Ruby on Rails=2.3.9
Ruby on Rails=2.3.10
Ruby on Rails=2.3.11
Ruby on Rails=2.3.12

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • How do I fix CVE-2011-3186?

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

  • What versions are affected by CVE-2011-3186?

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

  • Can CVE-2011-3186 be exploited remotely?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203