CVE-2013-4457
MEDIUM 6.8CVSS 2.0Cocaine Gem OS Command Injection vulnerability
The Cocaine gem 0.4.0 through 0.5.2 for Ruby allows context-dependent attackers to execute arbitrary commands via a crafted has object, related to recursive variable interpolation.
- Published
- 2 Nov 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-c43v-hrmg-56r4
- Sources
- NVDJSONOSV GHSA-c43v-hrmg-56r4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | thoughtbot | cocainecpe:2.3:a:thoughtbot:cocaine:0.4.0:-:*:*:*:ruby:*:* |
= 0.4.0 | |
| NVD | thoughtbot | cocainecpe:2.3:a:thoughtbot:cocaine:0.4.1:-:*:*:*:ruby:*:* |
= 0.4.1 | |
| NVD | thoughtbot | cocainecpe:2.3:a:thoughtbot:cocaine:0.4.2:-:*:*:*:ruby:*:* |
= 0.4.2 | |
| NVD | thoughtbot | cocainecpe:2.3:a:thoughtbot:cocaine:0.5.0:*:*:*:*:ruby:*:* |
= 0.5.0 | |
| NVD | thoughtbot | cocainecpe:2.3:a:thoughtbot:cocaine:0.5.1:-:*:*:*:ruby:*:* |
= 0.5.1 | |
| NVD | thoughtbot | cocainecpe:2.3:a:thoughtbot:cocaine:0.5.2:-:*:*:*:ruby:*:* |
= 0.5.2 | |
| OSV | RubyGems | cocaine | >= 0.4.0, < 0.5.3 | 0.5.3 |
References
- http://osvdb.org/98835
- http://secunia.com/advisories/55365 · Vendor Advisory
- http://www.openwall.com/lists/oss-security/2013/10/22/10 · WEB
- https://github.com/thoughtbot/cocaine/blob/master/NEWS.md · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2013-4457 · ADVISORY
- https://github.com/thoughtbot/cocaine · PACKAGE
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 2 Nov 2013)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)