CVE-2013-4457

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: 2013-11-02 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2013-4457 is rated Moderate Risk (52.7/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.45%). Core evidence: EPSS rose +1.08% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2013-4457

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.38% 1.45% +1.08%
2 2025-03-30 0.60% 0.38% -0.22%
3 2025-03-29 0.60%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2013-4457

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 6.4 [email protected]

Weakness enumeration for CVE-2013-4457

GitHub Security Advisory for CVE-2013-4457

GHSA-c43v-hrmg-56r4 · Severity: medium · Ecosystem: rubygems — Cocaine Gem OS Command Injection vulnerability

Affected software / configurations for CVE-2013-4457

Vendor Product Version Raw CPE
thoughtbot cocaine 0.4.0 cpe:2.3:a:thoughtbot:cocaine:0.4.0:-:*:*:*:ruby:*:*
thoughtbot cocaine 0.4.1 cpe:2.3:a:thoughtbot:cocaine:0.4.1:-:*:*:*:ruby:*:*
thoughtbot cocaine 0.4.2 cpe:2.3:a:thoughtbot:cocaine:0.4.2:-:*:*:*:ruby:*:*
thoughtbot cocaine 0.5.0 cpe:2.3:a:thoughtbot:cocaine:0.5.0:*:*:*:*:ruby:*:*
thoughtbot cocaine 0.5.1 cpe:2.3:a:thoughtbot:cocaine:0.5.1:-:*:*:*:ruby:*:*
thoughtbot cocaine 0.5.2 cpe:2.3:a:thoughtbot:cocaine:0.5.2:-:*:*:*:ruby:*:*

References for CVE-2013-4457

cvelogic Threat Intelligence