CVE-2013-1800
HIGH 7.5CVSS 2.0crack does not properly restrict casts of string values
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.
- Published
- 9 Apr 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264CWE-704CWE-74
- Also known as
- GHSA-m7fq-cf8q-35q7
- Sources
- NVDJSONOSV GHSA-m7fq-cf8q-35q7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | john_nunemaker | crackcpe:2.3:a:john_nunemaker:crack:*:*:*:*:*:*:*:* |
<= 0.3.1 | |
| NVD | john_nunemaker | crackcpe:2.3:a:john_nunemaker:crack:0.1.8:*:*:*:*:*:*:* |
= 0.1.8 | |
| NVD | john_nunemaker | crackcpe:2.3:a:john_nunemaker:crack:0.2.0:*:*:*:*:*:*:* |
= 0.2.0 | |
| NVD | john_nunemaker | crackcpe:2.3:a:john_nunemaker:crack:0.3.0:*:*:*:*:*:*:* |
= 0.3.0 | |
| OSV | RubyGems | crack | < 0.3.2 | 0.3.2 |
References
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00003.html · WEB
- http://secunia.com/advisories/52897 · Vendor Advisory
- https://bugzilla.novell.com/show_bug.cgi?id=804721 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=917236 · WEB
- https://github.com/jnunemaker/crack/commit/e3da1212a1f84a898ee3601336d1dbbf118fb5f6 · Exploit, Patch, 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
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 9 Apr 2013)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)