Is cocaine 0.5 vulnerable?

RubyGems · 9 releases from 0.5.0 to 0.5.8 · latest cocaine is 0.6.0 · checked 18 Nov 2026

No known advisories in the last release

cocaine 0.5.8, the last 0.5 release, has no known advisories. 1 advisory affects earlier 0.5.x releases, so update to 0.5.8.

Update within 0.5:bundle update --conservative cocaine # Gemfile: '>= 0.5.8'

Is your project on an affected cocaine?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 0.5.x, affecting earlier releases

  • MediumCVE-2013-4457GHSA-c43v-hrmg-56r424 Oct 2017

    Cocaine Gem OS Command Injection vulnerability

    Affected
    >=0.4.0 <0.5.3
    Fixed in
    0.5.3

Every cocaine 0.5.x release

Affected: 0.5.0 to 0.5.2. 0.5.3 and later are not affected. Latest cocaine: 0.6.0.

VersionKnown advisories
cocaine 0.5.8None
cocaine 0.5.7None
cocaine 0.5.6None
cocaine 0.5.5None
cocaine 0.5.4None
cocaine 0.5.3None
cocaine 0.5.2CVE-2013-4457
cocaine 0.5.1CVE-2013-4457
cocaine 0.5.0CVE-2013-4457

Which of your client projects are still on cocaine 0.5?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact cocaine version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other cocaine versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.