Is sprockets 2.4 vulnerable?

RubyGems · 7 releases from 2.4.0 to 2.4.6 · latest sprockets is 4.4.1 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. sprockets 2.4.6, the last 2.4 release, is affected by 1 known security advisory (1 high), including CVE-2018-3760. 1 more affects earlier 2.4.x releases. Upgrade to 2.12.5 or later to fix all of them.

Upgrade with:bundle update --conservative sprockets # Gemfile: '>= 2.12.5'

Is your project on an affected sprockets?

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 sprockets 2.4.6

  • HighCVE-2018-3760GHSA-pr3h-jjhj-573x20 Jun 2018

    Sprockets path traversal leads to information leak

    Affected
    >=3.0.0 <3.7.2 · >=4.0.0.beta1 <4.0.0.beta8 · <2.12.5
    Fixed in
    2.12.5, 3.7.2, 4.0.0.beta8

Fixed within 2.4.x, affecting earlier releases

  • MediumCVE-2014-7819GHSA-33pp-3763-mrfp24 Oct 2017

    sprockets vulnerable to Path Traversal

    Affected
    <2.0.5 · >=2.1.0 <2.1.4 · >=2.2.0 <2.2.3 · >=2.3.0 <2.3.3 · >=2.4.0 <2.4.6 · >=2.5.0 <2.5.1 · >=2.6.0 <2.7.1 · >=2.8.0 <2.8.3 · >=2.9.0 <2.9.4 · >=2.10.0 <2.10.2 · >=2.11.0 <2.11.3 · >=2.12.0 <2.12.3
    Fixed in
    2.0.5, 2.1.4, 2.2.3, 2.3.3, 2.4.6, 2.5.1, 2.7.1, 2.8.3, 2.9.4, 2.10.2, 2.11.3, 2.12.3

Every sprockets 2.4.x release

Affected: 2.4.0 to 2.4.6. Latest sprockets: 4.4.1.

VersionKnown advisories
sprockets 2.4.6CVE-2018-3760
sprockets 2.4.5CVE-2018-3760, CVE-2014-7819
sprockets 2.4.4CVE-2018-3760, CVE-2014-7819
sprockets 2.4.3CVE-2018-3760, CVE-2014-7819
sprockets 2.4.2CVE-2018-3760, CVE-2014-7819
sprockets 2.4.1CVE-2018-3760, CVE-2014-7819
sprockets 2.4.0CVE-2018-3760, CVE-2014-7819

Which of your client projects are still on sprockets 2.4?

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

Other sprockets 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.