Read the docs
TI-2013-03907 Aliases CVE-2013-4457GHSA-c43v-hrmg-56r4

The Cocaine gem 0.4.0 through 0.5.2 for Ruby allows context-dependent attackers to…

Priority LOW 34CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
Code execution
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.

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.

Why it matters now

EPSS 0.01997 80th percentileScored 2026-11-07
Fix Fixed cocaine (RubyGems): 0.5.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—cocaine (RubyGems)0.4.0 to before 0.5.30.5.3Patch availableGHSA-c43v-hrmg-56r4
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • cocaine (RubyGems) Vendor— Affected 0.4.0 to before 0.5.3 Fixed in 0.5.3 Patch available GHSA-c43v-hrmg-56r4

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:thoughtbot:cocaine:0.4.0:-:*:*:*:ruby:*:*0.4.0Vulnerablethoughtbot
cpe:2.3:a:thoughtbot:cocaine:0.4.1:-:*:*:*:ruby:*:*0.4.1Vulnerablethoughtbot
cpe:2.3:a:thoughtbot:cocaine:0.4.2:-:*:*:*:ruby:*:*0.4.2Vulnerablethoughtbot
cpe:2.3:a:thoughtbot:cocaine:0.5.0:*:*:*:*:ruby:*:*0.5.0Vulnerablethoughtbot
cpe:2.3:a:thoughtbot:cocaine:0.5.1:-:*:*:*:ruby:*:*0.5.1Vulnerablethoughtbot
cpe:2.3:a:thoughtbot:cocaine:0.5.2:-:*:*:*:ruby:*:*0.5.2Vulnerablethoughtbot
  • cpe:2.3:a:thoughtbot:cocaine:0.4.0:-:*:*:*:ruby:*:* Versions 0.4.0 Vulnerable ·thoughtbot
  • cpe:2.3:a:thoughtbot:cocaine:0.4.1:-:*:*:*:ruby:*:* Versions 0.4.1 Vulnerable ·thoughtbot
  • cpe:2.3:a:thoughtbot:cocaine:0.4.2:-:*:*:*:ruby:*:* Versions 0.4.2 Vulnerable ·thoughtbot
  • cpe:2.3:a:thoughtbot:cocaine:0.5.0:*:*:*:*:ruby:*:* Versions 0.5.0 Vulnerable ·thoughtbot
  • cpe:2.3:a:thoughtbot:cocaine:0.5.1:-:*:*:*:ruby:*:* Versions 0.5.1 Vulnerable ·thoughtbot
  • cpe:2.3:a:thoughtbot:cocaine:0.5.2:-:*:*:*:ruby:*:* Versions 0.5.2 Vulnerable ·thoughtbot

Remediation

  • Fix · GHSA-c43v-hrmg-56r4 cocaine (RubyGems) Fixed in 0.5.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2013-4457
  2. 2026-10-03 Alias added: GHSA-c43v-hrmg-56r4

References

Sources