Live threats

All CVEs / Rubyonrails

CVE-2013-0156Rubyonrails Rails

High 7.5 No auth neededHigh EPSS

Priority
70
CVSS 2.0
7.5
EPSS
99.0%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Jan 13, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionpack < 2.3.15 2.3.15 gem "actionpack", ">= 2.3.15"
RubyGems actionpack ≥ 3.0.0 < 3.0.19 3.0.19 gem "actionpack", ">= 3.0.19"
RubyGems actionpack ≥ 3.1.0 < 3.1.10 3.1.10 gem "actionpack", ">= 3.1.10"
RubyGems actionpack ≥ 3.2.0 < 3.2.11 3.2.11 gem "actionpack", ">= 3.2.11"

Per OSV / GitHub Advisories (GHSA-jmgw-6vjg-jjwg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails≥ 3.2.0 < 3.2.11
rubyonrailsruby_on_rails< 2.3.15
rubyonrailsruby_on_rails≥ 3.0.0 < 3.0.19
rubyonrailsruby_on_rails≥ 3.1.0 < 3.1.10
debiandebian_linux6.0
debiandebian_linux7.0

Official sources

References

Links published by the sources. Open them with care.