{ "id": "CVE-2013-0156", "sourceIdentifier": "secalert@redhat.com", "published": "2013-01-13T22:55:00.947", "lastModified": "2025-04-11T00:51:21.963", "vulnStatus": "Deferred", "cveTags": [], "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." }, { "lang": "es", "value": "active_support/core_ext/hash/conversions.rb en Ruby on Rails anterior a v2.3.15, v3.0.x anterior a v3.0.19, v3.1.x anterior a v3.1.10, y v3.2.x anterior a v3.2.11 no restringe adecuadamente el \"casting\" de las variables de tipo cadena, lo que permite a atacantes remotos llevar a cabo ataques de inyecci\u00f3n de objetos y la ejecuci\u00f3n de c\u00f3digo arbitrario o provocar una denegaci\u00f3n de servicio (consumo de memoria y CPU) involucrando a referencias de entidades XML anidadas, aprovechando el soporte de Action Pack para lso tipos de conversion (1) YAML o (2) Symbol." } ], "metrics": { "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "baseScore": 7.5, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL" }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-20" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.2.0", "versionEndExcluding": "3.2.11", "matchCriteriaId": "DF1D9248-14D7-4EA2-B416-D76FBA64E329" }, { "vulnerable": true, "criteria": "cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.3.15", "matchCriteriaId": "B28BEC17-EF03-4790-ACB3-89F615269803" }, { "vulnerable": true, "criteria": "cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.0.0", "versionEndExcluding": "3.0.19", "matchCriteriaId": "BC513BC8-F945-46A9-A63F-22585232DAE8" }, { "vulnerable": true, "criteria": "cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.1.0", "versionEndExcluding": "3.1.10", "matchCriteriaId": "08C05EBE-B0D8-48F5-8C69-5801000189BA" } ] } ] }, { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*", "matchCriteriaId": "036E8A89-7A16-411F-9D31-676313BB7244" }, { "vulnerable": true, "criteria": "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*", "matchCriteriaId": "16F59A04-14CF-49E2-9973-645477EA09DA" } ] } ] } ], "references": [ { "url": "http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory", "US Government Resource" ] }, { "url": "http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html", "source": "secalert@redhat.com", "tags": [ "Mailing List", "Third Party Advisory" ] }, { "url": "http://rhn.redhat.com/errata/RHSA-2013-0153.html", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory" ] }, { "url": "http://rhn.redhat.com/errata/RHSA-2013-0154.html", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory" ] }, { "url": "http://rhn.redhat.com/errata/RHSA-2013-0155.html", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory" ] }, { "url": "http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/", "source": "secalert@redhat.com", "tags": [ "Vendor Advisory" ] }, { "url": "http://www.debian.org/security/2013/dsa-2604", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory" ] }, { "url": "http://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory" ] }, { "url": "http://www.insinuator.net/2013/01/rails-yaml/", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory" ] }, { "url": "http://www.kb.cert.org/vuls/id/380039", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory", "US Government Resource" ] }, { "url": "http://www.kb.cert.org/vuls/id/628463", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory", "US Government Resource" ] }, { "url": "https://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory" ] }, { "url": "https://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory" ] }, { "url": "https://puppet.com/security/cve/cve-2013-0156", "source": "secalert@redhat.com", "tags": [ "Third Party Advisory" ] }, { "url": "http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory", "US Government Resource" ] }, { "url": "http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Mailing List", "Third Party Advisory" ] }, { "url": "http://rhn.redhat.com/errata/RHSA-2013-0153.html", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] }, { "url": "http://rhn.redhat.com/errata/RHSA-2013-0154.html", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] }, { "url": "http://rhn.redhat.com/errata/RHSA-2013-0155.html", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] }, { "url": "http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Vendor Advisory" ] }, { "url": "http://www.debian.org/security/2013/dsa-2604", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] }, { "url": "http://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] }, { "url": "http://www.insinuator.net/2013/01/rails-yaml/", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] }, { "url": "http://www.kb.cert.org/vuls/id/380039", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory", "US Government Resource" ] }, { "url": "http://www.kb.cert.org/vuls/id/628463", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory", "US Government Resource" ] }, { "url": "https://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] }, { "url": "https://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] }, { "url": "https://puppet.com/security/cve/cve-2013-0156", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] } ] }