{"id":"GHSA-m7fq-cf8q-35q7","summary":"crack does not properly restrict casts of string values","details":"The crack gem 0.3.1 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 (1) YAML type conversion or (2) Symbol type conversion, a similar vulnerability to CVE-2013-0156.","aliases":["CVE-2013-1800"],"modified":"2024-12-03T06:06:33.107686Z","published":"2017-10-24T18:33:37Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:45:16Z","nvd_published_at":"2013-04-09T20:55:01Z","cwe_ids":["CWE-704","CWE-74"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1800"},{"type":"WEB","url":"https://github.com/jnunemaker/crack/commit/e3da1212a1f84a898ee3601336d1dbbf118fb5f6"},{"type":"WEB","url":"https://bugzilla.novell.com/show_bug.cgi?id=804721"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=917236"},{"type":"PACKAGE","url":"https://github.com/jnunemaker/crack"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/crack/CVE-2013-1800.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/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://lists.opensuse.org/opensuse-security-announce/2013-04/msg00003.html"}],"affected":[{"package":{"name":"crack","ecosystem":"RubyGems","purl":"pkg:gem/crack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2"}]}],"versions":["0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.2.0","0.3.0","0.3.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-m7fq-cf8q-35q7/GHSA-m7fq-cf8q-35q7.json"}}],"schema_version":"1.9.0"}