Is cocaine 0.4 vulnerable?

RubyGems · 3 releases from 0.4.0 to 0.4.2 · latest cocaine is 0.6.0 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. cocaine 0.4.2, the last 0.4 release, is affected by 1 known security advisory (1 medium), including CVE-2013-4457. Upgrade to 0.5.3 or later to fix all of them.

Upgrade with:bundle update --conservative cocaine # Gemfile: '>= 0.5.3'

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

Advisories affecting cocaine 0.4.2

  • 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.4.x release

Affected: 0.4.0 to 0.4.2. Latest cocaine: 0.6.0.

VersionKnown advisories
cocaine 0.4.2CVE-2013-4457
cocaine 0.4.1CVE-2013-4457
cocaine 0.4.0CVE-2013-4457

Which of your client projects are still on cocaine 0.4?

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.