Skip to content
Noroxi
CVE-2013-0156· NVD / CVE Program· CNA redhat

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.1

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.

HighCVSS 7.5 · v2.0—Weaponized Fix available
Published
Jan 13, 2013
Updated
Jun 16, 2026
EPSS
99.4% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

60

This week

Don’t wait for the next maintenance window.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
30 / 30 · 99.4%

Affected systems

VendorProduct
rubyonrailsrails
rubyonrailsruby on rails
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux6.0
  • debian debian linux7.0
  • rubyonrails rails3.2.0 and later · before 3.2.11
  • rubyonrails ruby on railsbefore 2.3.15
  • rubyonrails ruby on rails3.0.0 and later · before 3.0.19
  • rubyonrails ruby on rails3.1.0 and later · before 3.1.10

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12railsbefore 2.3.14.12.3.14.1
Debian:6.0railsbefore 2.3.5-1.2+squeeze4.12.3.5-1.2+squeeze4.1
openSUSE:Tumbleweedrubygem-extlibbefore 0.9.16-7.40.9.16-7.4
Red Hat:openshift:1::el6ruby193-rubygem-actionpackbefore 1:3.2.8-2.el61:3.2.8-2.el6
Red Hat:openshift:1::el6ruby193-rubygem-actionpack-docbefore 1:3.2.8-2.el61:3.2.8-2.el6
Red Hat:openshift:1::el6ruby193-rubygem-activesupportbefore 1:3.2.8-3.el61:3.2.8-3.el6
Red Hat:openshift:1::el6rubygem-actionpackbefore 1:3.0.13-2.1.el6op1:3.0.13-2.1.el6op
Red Hat:openshift:1::el6rubygem-activesupportbefore 1:3.0.13-2.el6op1:3.0.13-2.el6op
RubyGemsactionpackfrom 3.0.0 · before 3.0.193.0.19
RubyGemsactionpackfrom 3.1.0 · before 3.1.103.1.10
RubyGemsactionpackfrom 3.2.0 · before 3.2.113.2.11
RubyGemsactionpackbefore 2.3.152.3.15

Other highest-scoring records for the same primary product.

  • CVE-2019-5418There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accepKEV
    90Now
  • CVE-2016-0752Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, anKEV
    89Now
  • CVE-2019-5420A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically gene
    66This week
  • CVE-2020-8163The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument o
    60This week
  • CVE-2013-0333lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to
    59Plan
  • CVE-2020-8165A deserialization of untrusted data vulnernerability exists in rails < 5.2.4.3, rails < 6.0.3.1 that can allow an attacker to unmarshal user
    53Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rails2.3.14.1 · Debian:12Package registry (OSV)
opensuse:rubygem-extlib0.9.16-7.4 · openSUSE:TumbleweedPackage registry (OSV)
red hat:ruby193-rubygem-actionpack1:3.2.8-2.el6 · Red Hat:openshift:1::el6Package registry (OSV)
red hat:ruby193-rubygem-actionpack-doc1:3.2.8-2.el6 · Red Hat:openshift:1::el6Package registry (OSV)
red hat:ruby193-rubygem-activesupport1:3.2.8-3.el6 · Red Hat:openshift:1::el6Package registry (OSV)
red hat:rubygem-actionpack1:3.0.13-2.1.el6op · Red Hat:openshift:1::el6Package registry (OSV)
red hat:rubygem-activesupport1:3.0.13-2.el6op · Red Hat:openshift:1::el6Package registry (OSV)
RubyGems:actionpack2.3.15Package registry (OSV)
RubyGems:actionpack3.0.19Package registry (OSV)
RubyGems:actionpack3.1.10Package registry (OSV)
RubyGems:actionpack3.2.11Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×3
  • Exploit-DB entry ×2
  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×8

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2013-08-12
Exploit-DB entryremote2013-01-10
Metasploit moduleauxiliary/scanner/http/rails_xml_yaml_scannerRuby on Rails XML Processor YAML Deserialization Scannerauxiliary—
Metasploit moduleexploit/multi/http/rails_secret_deserializationRuby on Rails Known Secret Session Cookie Remote Code Executionexploit2013-04-11
Metasploit moduleexploit/multi/http/rails_xml_yaml_code_execRuby on Rails XML Processor YAML Deserialization Code Executionexploit2013-01-07
Nuclei detection templateNuclei template infoblox-netmri-rails-cookie-rce —
Proof-of-concept repository on GitHubstars:02013-01-10
Proof-of-concept repository on GitHubstars:12013-01-11
Proof-of-concept repository on GitHubstars:02013-01-11
Proof-of-concept repository on GitHubstars:52013-01-12
Proof-of-concept repository on GitHubstars:02019-05-27
Proof-of-concept repository on GitHubstars:02023-07-29

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Metasploit-7 d
  2. First PoC-4 d
  3. Published
  4. TodaySep 30, 2026+5008 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records