# CVE-2013-1800: crack does not properly restrict casts of string values

- Severity: High 7.5 (CVSS:2.0, scored by NVD) `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.95%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2013-04-09T20:00:00.000Z
- Modified: 2026-06-16T23:52:08.777Z
- Also known as: GHSA-m7fq-cf8q-35q7
- Weaknesses: CWE-74, CWE-264, CWE-704
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- crack (RubyGems): before 0.3.2
- john_nunemaker crack: up to 0.3.1; 0.1.8; 0.2.0; 0.3.0

## Every score

- GitHub: rating High
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/jnunemaker/crack/commit/e3da1212a1f84a898ee3601336d1dbbf118fb5f6> (exploit, patch, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=917236> (web)
- <http://secunia.com/advisories/52897> (third-party-advisory, vendor-advisory)
- <https://bugzilla.novell.com/show_bug.cgi?id=804721> (web)
- <http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00003.html> (vendor-advisory, web)
- <https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2013-1800> (advisory)
- <https://github.com/jnunemaker/crack> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/crack/CVE-2013-1800.yml> (web)
- <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> (web)

## Sources

- CVE List: [CVE-2013-1800](https://www.cve.org/CVERecord?id=CVE-2013-1800), CVE Terms of Use, modified 2024-08-06
- GitHub Advisory Database: [GHSA-m7fq-cf8q-35q7](https://github.com/advisories/GHSA-m7fq-cf8q-35q7), CC-BY-4.0, modified 2024-12-03
- NVD: [CVE-2013-1800](https://nvd.nist.gov/vuln/detail/CVE-2013-1800), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2013-1800 · Whole record: https://cve.day/CVE-2013-1800.json · Rebuilt by cve.day 2026-11-25T22:57:15.698Z
