{"id":"CVE-2013-1800","aliases":["CVE-2013-1800","GHSA-m7fq-cf8q-35q7"],"related":[],"kind":"vulnerability","state":"published","title":"crack does not properly restrict casts of string values","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La gema crack  0.3.1 y anteriores para Ruby  no restringe adecuadamente las conversiones de los valores de cadena, lo que podría permitir a atacantes remotos llevar a cabo ataques de inyección de objetos y la ejecución de código arbitrario o provocar incluso una denegación de servicio (consumo de memoria y CPU), aprovechando el soporte Action PAck para (1) los conversores de tipo YALM o (2) los conversores de tipo Symbol. Vulnerabilidad similar a  CVE-2013-0156.","source":"nvd"}],"published":"2013-04-09T20:00:00.000Z","modified":"2026-06-16T23:52:08.777Z","severity":{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-74","CWE-264","CWE-704"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.3.2"}],"ecosystem":"RubyGems","package":"crack","purl":"pkg:gem/crack","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.3.1"},{"status":"affected","version":"0.1.8"},{"status":"affected","version":"0.2.0"},{"status":"affected","version":"0.3.0"}],"vendor":"john_nunemaker","product":"crack","cpe":"cpe:2.3:a:john_nunemaker:crack:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=917236","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://secunia.com/advisories/52897","tags":["third-party-advisory","vendor-advisory","x-refsource-secunia","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=804721","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00003.html","tags":["vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jnunemaker/crack/commit/e3da1212a1f84a898ee3601336d1dbbf118fb5f6","tags":["exploit","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1800","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jnunemaker/crack","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/crack/CVE-2013-1800.yml","tags":["web"],"sources":["ghsa"]},{"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","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2013-1800","url":"https://www.cve.org/CVERecord?id=CVE-2013-1800","licence":"CVE Terms of Use","modified":"2024-08-06T15:13:33.002Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m7fq-cf8q-35q7","url":"https://github.com/advisories/GHSA-m7fq-cf8q-35q7","licence":"CC-BY-4.0","modified":"2024-12-03T06:06:33.107Z"},{"source":"nvd","name":"NVD","id":"CVE-2013-1800","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1800","licence":"Public domain","modified":"2026-06-16T23:52:08.777Z"}],"updatedAt":"2026-11-25T22:57:15.698Z","epss":{"score":0.04952,"percentile":0.92355,"date":"2026-12-01T12:00:22.000Z"}}