CVE Watchtower

CVE-2013-0156Rubyonrails Rails Improper Input Validation

NVD

Vulnerability Summary

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.
Severity Level
UNKNOWN
Published Date
Jan 13, 2013
Last Modified
Apr 29, 2026
PoC
Available(Metasploit)
Exploitation Status
Public exploit available
EPSS Score (30-Day)
91.91%Probability
Root Weakness (CWE)
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required.

Affected & Patched Versions

Affected Versions
  • Rubyonrails Rails >= 3.2.0 and < 3.2.11
  • Rubyonrails Ruby On Rails < 2.3.15
  • Rubyonrails Ruby On Rails >= 3.0.0 and < 3.0.19
  • Rubyonrails Ruby On Rails >= 3.1.0 and < 3.1.10
  • Debian Linux
Patched Versions
  • Rubyonrails Rails 3.2.11
  • Rubyonrails Ruby On Rails 2.3.15
  • Rubyonrails Ruby On Rails 3.0.19
  • Rubyonrails Ruby On Rails 3.1.10

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run Rubyonrails Rails and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Jan 13, 2013Published
  • Apr 29, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Rubyonrails Rails CVEsYou are reading CVE-2013-0156. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

External References

Data last checked: Nov 24, 2026 09:23 UTC