CVE-2013-0156

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductRails
PublishedJan 13, 2013
First seenJan 13, 2013

How to fix

Update
  • rubyonrails rails3.2.11 or later
  • rubyonrails ruby_on_rails2.3.15, 3.0.19, 3.1.10 or later

Affected products

ProductAffected versionsFixed in
rubyonrails rails3.2.0 ≤ v < 3.2.113.2.11
rubyonrails ruby_on_railsv < 2.3.15, 3.0.0 ≤ v < 3.0.19, 3.1.0 ≤ v < 3.1.102.3.15, 3.0.19, 3.1.10
debian debian_linux6.0, 7.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2013-0156 · Rails · Dark Radar