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.
References (6)
Core 6
Core References
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=917236
Vendor Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/52897
Issue Tracking x_refsource_confirm
https://bugzilla.novell.com/show_bug.cgi?id=804721
Mailing List vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00003.html
Various Sources x_refsource_misc
https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately
Exploit, Patch x_refsource_misc
https://github.com/jnunemaker/crack/commit/e3da1212a1f84a898ee3601336d1dbbf118fb5f6
Scores
EPSS
0.0165
EPSS Percentile
82.1%
Details
CWE
CWE-264
Status
published
Products (5)
john_nunemaker/crack
0.1.8
john_nunemaker/crack
0.2.0
john_nunemaker/crack
0.3.0
john_nunemaker/crack
< 0.3.1
rubygems/crack
0 - 0.3.2RubyGems
Published
Apr 09, 2013
Tracked Since
Feb 18, 2026