Cocaine Gem OS Command Injection vulnerability

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.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2017-10-24 18:33:37 UTC
Updated
2023-11-04 05:02:11 UTC
GitHub reviewed
2020-06-16 21:30:11 UTC
NVD published
2013-11-02

EPSS Score

Score Percentile
0.38% 58.51%

CVSS Scores

No CVSS scores in this advisory.

Identifiers

CWEs

CWE id Name
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected packages (1)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
rubygems cocaine >= 0.4.0, < 0.5.3 0.5.3

References

cvelogic Threat Intelligence