← All CVEs

CVE-2013-0156

high · 7.5

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.

7.5
CVSS
99.4%
EPSS (exploit prob.)
100th
EPSS percentile
2013-01-13
Published

AV:N/AC:L/Au:N/C:P/I:P/A:P

Weaknesses

CWE-20

Affected products

VendorProductAffected versions
rubyonrailsrails>= 3.2.0, < 3.2.11
rubyonrailsruby_on_rails< 2.3.15
rubyonrailsruby_on_rails>= 3.0.0, < 3.0.19
rubyonrailsruby_on_rails>= 3.1.0, < 3.1.10
debiandebian_linux6.0
debiandebian_linux7.0

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2013-0156