PT-2013-2139 · Ruby+1 · Ruby On Rails+1

Ben Murphy

+7

·

Published

2013-01-13

·

Updated

2026-01-07

·

CVE-2013-0156

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Ruby on Rails versions 2.3.15 and earlier Ruby on Rails versions 3.0.x through 3.0.18 Ruby on Rails versions 3.1.x through 3.1.9 Ruby on Rails versions 3.2.x through 3.2.10
Description The issue allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service involving nested XML entity references, by leveraging Action Pack support for YAML type conversion or Symbol type conversion. This is due to the improper restriction of casts of string values in the active support/core ext/hash/conversions.rb file.
Recommendations For Ruby on Rails version 2.3.15 and earlier, update to version 2.3.15 or later. For Ruby on Rails versions 3.0.x through 3.0.18, update to version 3.0.19 or later. For Ruby on Rails versions 3.1.x through 3.1.9, update to version 3.1.10 or later. For Ruby on Rails versions 3.2.x through 3.2.10, update to version 3.2.11 or later.

Exploit

Fix

DoS

RCE

Weakness Enumeration

Related Identifiers

CVE-2013-0156
DSA-2604-1
GHSA-JMGW-6VJG-JJWG
OPENSUSE-SU-2013_0278-1
OPENSUSE-SU-2013_0280-1
OPENSUSE-SU-2024:10188-1
RAILSJSONYAMLRCECHECK
RAILSXMLYAMLRCECHECK
RHSA-2013:0153

Affected Products

Ruby On Rails
Suse