{"id":"CVE-2013-0156","state":"PUBLISHED","title":"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 st","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.","publishedAt":"2013-01-13T22:00:00.000Z","updatedAt":"2024-08-06T14:18:09.436Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain","http://www.insinuator.net/2013/01/rails-yaml/","http://rhn.redhat.com/errata/RHSA-2013-0155.html","http://www.kb.cert.org/vuls/id/628463","https://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156","http://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html","http://www.kb.cert.org/vuls/id/380039","http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html","http://www.debian.org/security/2013/dsa-2604","http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A","http://rhn.redhat.com/errata/RHSA-2013-0154.html","https://puppet.com/security/cve/cve-2013-0156","http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/","http://rhn.redhat.com/errata/RHSA-2013-0153.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:33.795Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2013/0xxx/CVE-2013-0156.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2013-0156","state":"PUBLISHED","datePublished":"2013-01-13T22:00:00.000Z","dateUpdated":"2024-08-06T14:18:09.436Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2012-12-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain","name":"[rubyonrails-security] 20130108 Multiple vulnerabilities in parameter parsing in Action Pack (CVE-2013-0156)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.insinuator.net/2013/01/rails-yaml/","tags":["x_refsource_MISC"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0155.html","name":"RHSA-2013:0155","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.kb.cert.org/vuls/id/628463","name":"VU#628463","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"https://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156","tags":["x_refsource_MISC"]},{"url":"http://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.kb.cert.org/vuls/id/380039","name":"VU#380039","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html","name":"APPLE-SA-2013-03-14-1","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.debian.org/security/2013/dsa-2604","name":"DSA-2604","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A","tags":["x_refsource_MISC"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html","name":"RHSA-2013:0154","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://puppet.com/security/cve/cve-2013-0156","tags":["x_refsource_CONFIRM"]},{"url":"http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0153.html","name":"RHSA-2013:0153","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2017-12-08T10:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2013-01-08T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain","name":"[rubyonrails-security] 20130108 Multiple vulnerabilities in parameter parsing in Action Pack (CVE-2013-0156)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.insinuator.net/2013/01/rails-yaml/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0155.html","name":"RHSA-2013:0155","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.kb.cert.org/vuls/id/628463","name":"VU#628463","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"]},{"url":"https://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.kb.cert.org/vuls/id/380039","name":"VU#380039","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html","name":"APPLE-SA-2013-03-14-1","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.debian.org/security/2013/dsa-2604","name":"DSA-2604","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html","name":"RHSA-2013:0154","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://puppet.com/security/cve/cve-2013-0156","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0153.html","name":"RHSA-2013:0153","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T14:18:09.436Z"}}]}}}