{"id":"GHSA-4936-rj25-6wm6","summary":"nori contains Improper Input Validation","details":"The nori gem 2.0.x before 2.0.2, 1.1.x before 1.1.4, and 1.0.x before 1.0.3 for Ruby 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, a similar vulnerability to CVE-2013-0156.","aliases":["CVE-2013-0285"],"modified":"2024-11-29T05:28:02.729764Z","published":"2017-10-24T18:33:37Z","database_specific":{"github_reviewed_at":"2020-06-16T20:57:55Z","nvd_published_at":null,"cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0285"},{"type":"WEB","url":"https://github.com/savonrb/nori/commit/2ca6f8603e406f884a8fcea6bc26f8f6bf168f40"},{"type":"WEB","url":"https://github.com/savonrb/nori/commit/4bcf59abdcec6bcd1153241b122eda61a494e4fb"},{"type":"WEB","url":"https://github.com/savonrb/nori/commit/818f5263b1d597b603d46cbe1702cd2717259e32"},{"type":"WEB","url":"https://github.com/savonrb/nori/commit/c3fdce7a2d2670b44f1cda35da0ae73cc1372084"},{"type":"WEB","url":"https://github.com/savonrb/nori/commit/c5e07f5c32e615f0a4a7ee2782d37f7a33261be4"},{"type":"WEB","url":"https://github.com/savonrb/nori/commit/d9b68667249b98776fb23ba9e9c548dc4b524709"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4936-rj25-6wm6"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nori/CVE-2013-0285.yml"},{"type":"PACKAGE","url":"https://github.com/savonrb/nori"},{"type":"WEB","url":"https://web.archive.org/web/20130203232028/https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately"},{"type":"WEB","url":"http://seclists.org/oss-sec/2013/q1/304"}],"affected":[{"package":{"name":"nori","ecosystem":"RubyGems","purl":"pkg:gem/nori"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.2"}]}],"versions":["2.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-4936-rj25-6wm6/GHSA-4936-rj25-6wm6.json"}},{"package":{"name":"nori","ecosystem":"RubyGems","purl":"pkg:gem/nori"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0"},{"fixed":"1.1.4"}]}],"versions":["1.1.0","1.1.2","1.1.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-4936-rj25-6wm6/GHSA-4936-rj25-6wm6.json"}},{"package":{"name":"nori","ecosystem":"RubyGems","purl":"pkg:gem/nori"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.0.3"}]}],"versions":["1.0.0","1.0.1","1.0.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-4936-rj25-6wm6/GHSA-4936-rj25-6wm6.json"}}],"schema_version":"1.9.0"}