CVE-2013-4457 json
Cocaine Gem OS Command Injection vulnerability
published 13y ago modified 4mo ago also GHSA-c43v-hrmg-56r4 , EUVD-2017-0211
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems cocaine 0.5.3
Is CVE-2013-4457 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.00% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | cocaine | >=0.4.0, <0.5.3 |
0.5.3 |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
secunia.com
/advisories/55365
third-party-advisory, vendor-advisory
-
github.com
/thoughtbot/cocaine/blob/master/NEWS.md
web
-
osvdb.org
/98835
vdb-entry
-
openwall.com
/lists/oss-security/2013/10/22/10
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2013-4457
advisory
-
github.com
/thoughtbot/cocaine
package
Sources
- CVE List CVE-2013-4457
- GitHub Advisory GHSA-c43v-hrmg-56r4
- NVD CVE-2013-4457
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.