CVE-2013-0156

high
Published 2013-01-08 · Modified 2024-11-30
CVSS v3
CVSS v2
7.5
VIR risk
8.5

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.

Predictions

Exploit likelihood
90%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2013-0156

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/

Exploits

Exploit-DB

Metasploit modules

OS impact

OSVersionStatusFixed in
debian debian6.0affected
debian debian7.0affected
debian debianbookwormfixed2.3.14.1
debian debianbullseyefixed2.3.14.1
debian debianforkyfixed2.3.14.1
debian debiansidfixed2.3.14.1
debian debiantrixiefixed2.3.14.1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsactionpack<~> 2.3.15~> 2.3.15
ruby RubyGemsactionpack<2.3.152.3.15
ruby RubyGemsactionpack>=3.0.0,<3.0.193.0.19
ruby RubyGemsactionpack>=3.1.0,<3.1.103.1.10
ruby RubyGemsactionpack>=3.2.0,<3.2.113.2.11

Application impact

VendorProductVersionsFixed
rubyonrailsrails{"startIncluding":"3.2.0","endExcluding":"3.2.11"}3.2.11
rubyonrailsruby_on_rails{"endExcluding":"2.3.15"}2.3.15

References

CWEs

CWE-20

Verify integrity in audit chain (admin only). AS-IS.