Security mailing lists by PureSourceCode

CVE-2013-4457

MEDIUM 6.8CVSS 2.0

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.

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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD thoughtbot cocaine
cpe:2.3:a:thoughtbot:cocaine:0.4.0:-:*:*:*:ruby:*:*
= 0.4.0
NVD thoughtbot cocaine
cpe:2.3:a:thoughtbot:cocaine:0.4.1:-:*:*:*:ruby:*:*
= 0.4.1
NVD thoughtbot cocaine
cpe:2.3:a:thoughtbot:cocaine:0.4.2:-:*:*:*:ruby:*:*
= 0.4.2
NVD thoughtbot cocaine
cpe:2.3:a:thoughtbot:cocaine:0.5.0:*:*:*:*:ruby:*:*
= 0.5.0
NVD thoughtbot cocaine
cpe:2.3:a:thoughtbot:cocaine:0.5.1:-:*:*:*:ruby:*:*
= 0.5.1
NVD thoughtbot cocaine
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.