7.5
CWE
502 20
Advisory Published
CVE Published
Updated

CVE-2013-0156: Input Validation

First published: Tue Jan 08 2013(Updated: )

active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging Action Pack support for (1) YAML type conversion or (2) Symbol type conversion.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/rubygem-actionpack<1:3.0.10-11.el6cf
1:3.0.10-11.el6cf
redhat/rubygem-activerecord<1:3.0.10-8.el6cf
1:3.0.10-8.el6cf
redhat/rubygem-activesupport<1:3.0.10-5.el6cf
1:3.0.10-5.el6cf
redhat/ruby193-rubygem-actionpack<1:3.2.8-2.el6
1:3.2.8-2.el6
redhat/ruby193-rubygem-activesupport<1:3.2.8-3.el6
1:3.2.8-3.el6
redhat/rubygem-actionpack<1:3.0.13-2.1.el6
1:3.0.13-2.1.el6
redhat/rubygem-activesupport<1:3.0.13-2.el6
1:3.0.13-2.el6
Ruby on Rails>=3.2.0<3.2.11
Ruby on Rails<2.3.15
Ruby on Rails>=3.0.0<3.0.19
Ruby on Rails>=3.1.0<3.1.10
Debian Linux=6.0
Debian Linux=7.0

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2013-0156?

    The severity of CVE-2013-0156 is classified as high due to the potential for remote code execution.

  • How do I fix CVE-2013-0156?

    To fix CVE-2013-0156, upgrade to the latest versions of Ruby on Rails that are not affected, specifically versions 2.3.15, 3.0.19, 3.1.10, or 3.2.11 and above.

  • What types of attacks can CVE-2013-0156 allow?

    CVE-2013-0156 can allow remote attackers to conduct object-injection attacks and execute arbitrary code.

  • Which versions of Ruby on Rails are affected by CVE-2013-0156?

    Affected versions include Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11.

  • What components of Ruby on Rails are impacted by CVE-2013-0156?

    CVE-2013-0156 impacts the active_support/core_ext/hash/conversions.rb component of Ruby on Rails.

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