Every CVE Search/ Get API key

CVE-2013-4457

Cocaine Gem OS Command Injection vulnerability

6.8 MediumFix available

CVE-2013-4457 is a medium vulnerability (CVSS 6.8) in Thoughtbot Cocaine, published November 2, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.00%, the 80th percentile. Fixed in cocaine 0.5.3.

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.

Exploit likelihood

2.00%Up 1.0 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2013-4457
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-78
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2013-4457
Updated
2026-11-02
EUVDEUVD-2017-0211 No score

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.

Record
EUVD-2017-0211
Updated
2026-11-03
GitHub AdvisoriesGHSA-c43v-hrmg-56r4 No score

Cocaine 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.

Record
GHSA-c43v-hrmg-56r4
Weakness
CWE-78
Updated
2026-11-02
OSVGHSA-c43v-hrmg-56r4 No score

Cocaine 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.

Record
GHSA-c43v-hrmg-56r4
Weakness
CWE-78
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cocaine
RubyGems
0.4.0 up to 0.5.3
0.5.3
cocaine
RubyGems
0.4.0 up to 0.5.3, plus listed versions
0.4.10.4.20.5.00.5.10.5.2
0.5.3

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

MoveEnter Open