Skip to content

Cocaine Gem OS Command Injection vulnerability

Moderate severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated Nov 4, 2023

Package

bundler cocaine (RubyGems)

Affected versions

>= 0.4.0, < 0.5.3

Patched versions

0.5.3

Description

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.

References

Published by the National Vulnerability Database Nov 2, 2013
Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated Nov 4, 2023

Severity

Moderate

EPSS score

0.311%
(71st percentile)

Weaknesses

CVE ID

CVE-2013-4457

GHSA ID

GHSA-c43v-hrmg-56r4

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.