Patchfirst
CVE-2018-3760 Public exploit EPSS 26.3%

There is an information leak vulnerability in Sprockets

Fix:upgrade sprockets to 3.7.2 Details ↓

HackerOne · Sprockets

Summary

The information leak vulnerability in Sprockets, a HackerOne product, lies in the Sprockets asset-handling component and allows files outside an application's root directory to be read through improper path restriction.

Official description · CVE.org

There is an information leak vulnerability in Sprockets. Versions Affected: 4.0.0.beta7 and lower, 3.7.1 and lower, 2.12.4 and lower. Specially crafted requests can be used to access files that exists on the filesystem that is outside an application's root directory, when the Sprockets server is used in production. All users running an affected release should either upgrade or use one of the work arounds immediately.

Breakdown
59.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 5 years after disclosure. Public exploit code (PoC-in-GitHub) appeared 16 months after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+16 mo
  3. First seen exploitedVulnCheck KEV evidence+5 yrs

Affected versions and fixes

as published in the CVE record

HackerOne Sprockets

Affected: 4.0.0.beta8, 3.7.2, 2.12.5

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: sprockets.

RubyGemssprocketsGHSA-pr3h-jjhj-573x

Upgrade to 3.7.2

Also affected, despite being newer: 4.0.0.beta1 up to 4.0.0.beta8.

Gemfilegem "sprockets", ">= 3.7.2"

The first fix for CVE-2018-3760. No other CVE tracked by Patchfirst affects this package.

Affected versions, by release line

If you runUpgrade to
4.0.0.beta1 up to 4.0.0.beta84.0.0.beta8
3.0.0 up to 3.7.23.7.2
All versions before 2.12.52.12.5

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

7 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close