CVE-2013-1800: Incorrect Type Cast

Published Mar 2, 2013
·
Updated

Tasha Drew reports:

Researchers investigating the Rails parameter parsing vulnerability discovered that the same or similar vulnerable code had made its way into multiple other libraries. If your application uses these libraries to process untrusted data, it may still be vulnerable even if you have upgraded Rails. Check your Gemfile and Gemfile.lock for vulnerable versions of the following libraries, and if you are using one, update it immediately.

You can update each of these by using "bundle update <gem name>".

Vulnerable: <= 0.3.1 Fixed in: 0.3.2

Upstream fix:

https://github.com/jnunemaker/crack/commit/e3da1212a1f84a898ee3601336d1dbbf118fb5f6

References:

https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately https://rubygems.org/gems/crack/

Other sources

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.

Affected Software

5 affected componentsFixes available
John Nunemaker Crack<=0.3.1
John Nunemaker Crack=0.1.8
John Nunemaker Crack=0.2.0
John Nunemaker Crack=0.3.0
rubygems/crack<0.3.2
0.3.2

Event History

Mar 2, 2013
Data Sourced
08:59 AM
DescriptionSeverityAffected Software
Apr 9, 2013
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Oct 24, 2017
Advisory Published
06:33 PM

Frequently Asked Questions

1

What is the severity of CVE-2013-1800?

CVE-2013-1800 is categorized as a high-severity vulnerability due to its exploitation potential in processing untrusted data.

2

How do I fix CVE-2013-1800?

To fix CVE-2013-1800, update the 'crack' library to version 0.3.2 or later.

3

What software is affected by CVE-2013-1800?

CVE-2013-1800 affects versions of the 'crack' library prior to 0.3.2, including 0.1.8, 0.2.0, and 0.3.0.

4

What types of attacks can exploit CVE-2013-1800?

CVE-2013-1800 can be exploited through data injection attacks, allowing malicious input to compromise an application.

5

Is CVE-2013-1800 related to other vulnerabilities?

Yes, CVE-2013-1800 is related to other vulnerabilities in Rails parameter parsing and similar libraries.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203