{"id":"GHSA-mgx3-27hr-mfgp","summary":"HTTParty does not restrict casts of string values","details":"The httparty gem 0.9.0 and earlier for Ruby does not properly restrict casts of string values, which might allow remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) by leveraging Action Pack support for YAML type conversion, a similar vulnerability to CVE-2013-0156.","aliases":["CVE-2013-1801"],"modified":"2024-11-29T05:40:00.539499Z","published":"2017-10-24T18:33:37Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:46:12Z","nvd_published_at":"2013-04-09T20:55:01Z","cwe_ids":["CWE-74"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1801"},{"type":"WEB","url":"https://github.com/jnunemaker/httparty/commit/53a812426dd32108d6cba4272b493aa03bc8c031"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=917229"},{"type":"PACKAGE","url":"https://github.com/jnunemaker/httparty"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/httparty/CVE-2013-1801.yml"},{"type":"WEB","url":"https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately"},{"type":"WEB","url":"https://web.archive.org/web/20200229101716/http://www.securityfocus.com/bid/58260"}],"affected":[{"package":{"name":"httparty","ecosystem":"RubyGems","purl":"pkg:gem/httparty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.5","0.1.6","0.1.7","0.1.8","0.2.0","0.2.1","0.2.10","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.5.0","0.5.1","0.5.2","0.6.0","0.6.1","0.7.0","0.7.2","0.7.3","0.7.4","0.7.6","0.7.7","0.7.8","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0"],"database_specific":{"last_known_affected_version_range":"\u003c= 0.9.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-mgx3-27hr-mfgp/GHSA-mgx3-27hr-mfgp.json"}}],"schema_version":"1.9.0"}