CVE-2013-0156
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.
How to fix
- rubyonrails rails3.2.11 or later
- rubyonrails ruby_on_rails2.3.15, 3.0.19, 3.1.10 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubyonrails rails | 3.2.0 ≤ v < 3.2.11 | 3.2.11 |
| rubyonrails ruby_on_rails | v < 2.3.15, 3.0.0 ≤ v < 3.0.19, 3.1.0 ≤ v < 3.1.10 | 2.3.15, 3.0.19, 3.1.10 |
| debian debian_linux | 6.0, 7.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.