{"id":"GHSA-pchc-949f-53m5","summary":"Improper Input Validation in multi_xml","details":"multi_xml gem 0.5.2 for Ruby, as used in Grape before 0.2.6 and possibly other products, 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 support for (1) YAML type conversion or (2) Symbol type conversion, a similar vulnerability to CVE-2013-0156.","aliases":["CVE-2013-0175"],"modified":"2024-12-04T05:42:01.958665Z","published":"2017-10-24T18:33:37Z","database_specific":{"github_reviewed_at":"2020-06-16T21:48:50Z","nvd_published_at":"2013-04-25T23:55:00Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0175"},{"type":"WEB","url":"https://github.com/sferik/multi_xml/pull/34"},{"type":"WEB","url":"https://github.com/sferik/multi_xml/commit/c94b136d06822514fc2e99dc851e6c4eeb4c8bdf"},{"type":"PACKAGE","url":"https://github.com/sferik/multi_xml"},{"type":"WEB","url":"https://groups.google.com/forum/?fromgroups=#!topic/ruby-grape/fthDkMgIOa0"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=5040457"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2013/01/11/9"}],"affected":[{"package":{"name":"multi_xml","ecosystem":"RubyGems","purl":"pkg:gem/multi_xml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.2"}]}],"versions":["0.0.1","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.2.0","0.2.1","0.2.2","0.3.0","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.5.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-pchc-949f-53m5/GHSA-pchc-949f-53m5.json"}}],"schema_version":"1.9.0"}