{"id":"CVE-2013-1801","aliases":["EUVD-2017-0272","GHSA-mgx3-27hr-mfgp"],"status":"published","title":"HTTParty does not restrict casts of string values","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0441,"percentile":0.91403,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264","CWE-74"],"published":"2013-04-09T20:00:00Z","modified":"2026-06-16T23:52:08Z","fixes":[{"ecosystem":"RubyGems","package":"httparty","fixed_in":["0.10.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"httparty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.9.0"},{"fixed":"0.10.0"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"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"]}],"products":[{"vendor":"jnunemaker","product":"httparty"}],"references":[{"url":"https://github.com/jnunemaker/httparty/commit/53a812426dd32108d6cba4272b493aa03bc8c031","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","web"]},{"url":"https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=917229","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/58260","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1801","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/httparty/CVE-2013-1801.yml","tags":["web"]},{"url":"https://web.archive.org/web/20200229101716/http://www.securityfocus.com/bid/58260","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mgx3-27hr-mfgp"},{"url":"https://github.com/jnunemaker/httparty","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-1801","description":"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.","status":"published","published":"2013-04-09T20:00:00Z","modified":"2024-08-06T15:13:32.978Z","updated_at":"2026-11-02T14:34:58.534075Z"}],"euvd":[{"id":"EUVD-2017-0272","description":"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.","status":"published","published":"2013-04-09T20:00:00Z","modified":"2024-08-06T15:13:32Z","updated_at":"2026-11-03T01:56:41.063727Z"}],"ghsa":[{"id":"GHSA-mgx3-27hr-mfgp","title":"HTTParty does not restrict casts of string values","description":"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.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-11-10T05:01:18Z","cwes":["CWE-74"],"updated_at":"2026-11-02T14:37:18.40412Z"}],"nvd":[{"id":"CVE-2013-1801","description":"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.","status":"published","published":"2013-04-09T20:55:01.96Z","modified":"2026-06-16T23:52:08.88Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:24.091325Z"}],"osv":[{"id":"GHSA-mgx3-27hr-mfgp","title":"HTTParty does not restrict casts of string values","description":"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.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-11-29T05:40:00.539499Z","cwes":["CWE-74"],"updated_at":"2026-11-02T15:46:51.811331Z"}]}}
