CVE-2013-1800
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.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | ruby-crack | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | ruby-crack | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | ruby-crack | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | ruby-crack | Fix pending | ||
| Debian 14 | ruby-crack | Fixed | 0.3.2-1 | DEBIAN-CVE-2013-1800 |
| Debian 13 | ruby-crack | Fixed | 0.3.2-1 | DEBIAN-CVE-2013-1800 |
| Debian 12 | ruby-crack | Fixed | 0.3.2-1 | DEBIAN-CVE-2013-1800 |
| RubyGems library | crack | Fixed | 0.3.2 | GHSA-m7fq-cf8q-35q7 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
References
- https://bugzilla.redhat.com/show_bug.cgi?id=917236
- http://secunia.com/advisories/52897
- https://bugzilla.novell.com/show_bug.cgi?id=804721
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00003.html
- https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately
- https://github.com/jnunemaker/crack/commit/e3da1212a1f84a898ee3601336d1dbbf118fb5f6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.