CVE-2013-1800 crack does not properly restrict casts of string values
HighCVSS 7.5
EPSS 5.0%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ruby-crack(Debian 12) | < 0.3.2-1 | 0.3.2-1 | Fixed |
| debian/ruby-crack(Debian 13) | < 0.3.2-1 | 0.3.2-1 | Fixed |
| debian/ruby-crack(Debian 14) | < 0.3.2-1 | 0.3.2-1 | Fixed |
| john nunemaker crack | <= 0.3.1; = 0.1.8; = 0.2.0; = 0.3.0 | after 0.3.1 | Fixed |
| rubygems crack(RubyGems) | < 0.3.2; = 0.1.1; = 0.1.2; = 0.1.3 +8 more | 0.3.2 | Fixed |
| ubuntu/ruby-crack(Ubuntu 16.04) | < 0.4.3-1; = 0.4.2-2; = 0.4.2-3 | 0.4.3-1 | Fixed |
| ubuntu/ruby-crack(Ubuntu 18.04) | < 0.4.3-2; = 0.4.3-1 | 0.4.3-2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems crack(RubyGems) | < 0.3.2 | 0.3.2 |
| rubygems crack(RubyGems) | = 0.1.1 | No fix listed |
| rubygems crack(RubyGems) | = 0.1.2 | No fix listed |
| rubygems crack(RubyGems) | = 0.1.3 | No fix listed |
| rubygems crack(RubyGems) | = 0.1.4 | No fix listed |
| rubygems crack(RubyGems) | = 0.1.5 | No fix listed |
| rubygems crack(RubyGems) | = 0.1.6 | No fix listed |
| rubygems crack(RubyGems) | = 0.1.7 | No fix listed |
| rubygems crack(RubyGems) | = 0.1.8 | No fix listed |
| rubygems crack(RubyGems) | = 0.2.0 | No fix listed |
| rubygems crack(RubyGems) | = 0.3.0 | No fix listed |
| rubygems crack(RubyGems) | = 0.3.1 | No fix listed |
| debian/ruby-crack(Debian:12) | < 0.3.2-1 | 0.3.2-1 |
| debian/ruby-crack(Debian:13) | < 0.3.2-1 | 0.3.2-1 |
| debian/ruby-crack(Debian:14) | < 0.3.2-1 | 0.3.2-1 |
| john nunemaker crack | <= 0.3.1 | No fix listed |
| john nunemaker crack | = 0.1.8 | No fix listed |
| john nunemaker crack | = 0.2.0 | No fix listed |
| john nunemaker crack | = 0.3.0 | No fix listed |
| ubuntu/ruby-crack(Ubuntu:16.04) | < 0.4.3-1 | 0.4.3-1 |
| ubuntu/ruby-crack(Ubuntu:16.04) | = 0.4.2-2 | No fix listed |
| ubuntu/ruby-crack(Ubuntu:16.04) | = 0.4.2-3 | No fix listed |
| ubuntu/ruby-crack(Ubuntu:18.04) | < 0.4.3-2 | 0.4.3-2 |
| ubuntu/ruby-crack(Ubuntu:18.04) | = 0.4.3-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit patch
- bugzilla.novell.com
- bugzilla.redhat.com
- SUSE-SU-2013:0615 vendor-advisory
- web.archive.org
- github.com exploit
- support.cloud.engineyard.com
- github.com
- github.com product
- Debian Security Tracker CVE-2013-1800 vendor-advisory
- 52897 third-party-advisory vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking