Skip to content
Noroxi
CVE-2018-3760· NVD / CVE Program· CNA hackerone

There is an information leak vulnerability in Sprockets.

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.

HighCVSS 7.5 · v3.0—Proof of concept Fix available
Published
Jun 26, 2018
Updated
Jun 16, 2026
EPSS
26.7% · 98th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

38

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
8 / 30 · 26.7%

Affected systems

VendorProduct
redhatcloudforms
redhatenterprise linux
sprockets projectsprockets
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux9.0
  • redhat cloudforms4.5
  • redhat cloudforms4.6
  • redhat enterprise linux6.0
  • redhat enterprise linux6.7
  • redhat enterprise linux7.0
  • redhat enterprise linux7.3
  • redhat enterprise linux7.4
  • redhat enterprise linux7.5
  • redhat enterprise linux7.6
  • sprockets project sprockets2.0.0 and later · up to 2.12.4 inclusive
  • sprockets project sprockets3.0.0 and later · up to 3.7.1 inclusive
  • sprockets project sprockets4.0.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.

  • HackerOne Sprockets

    • 4.0.0.beta8, 3.7.2, 2.12.5affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12ruby-sprocketsbefore 3.7.0-1.13.7.0-1.1
Debian:8ruby-sprocketsbefore 2.12.3-1+deb8u12.12.3-1+deb8u1
Debian:9ruby-sprocketsbefore 3.7.0-1+deb9u13.7.0-1+deb9u1
openSUSE:Tumbleweedruby3.2-rubygem-sprocketsbefore 4.1.1-1.64.1.1-1.6
openSUSE:Tumbleweedruby3.2-rubygem-sprockets-3.7before 3.7.2-1.203.7.2-1.20
openSUSE:Tumbleweedrubygem-sprocketsbefore 4.0.3-1.14.0.3-1.1
openSUSE:Tumbleweedrubygem-sprocketsbefore 4.2.1-1.94.2.1-1.9
openSUSE:Tumbleweedrubygem-sprocketsbefore 4.2.1-1.74.2.1-1.7
openSUSE:Tumbleweedrubygem-sprocketsbefore 4.2.1-1.54.2.1-1.5
openSUSE:Tumbleweedrubygem-sprockets-3.7before 3.7.3-1.13.7.3-1.1
openSUSE:Tumbleweedrubygem-sprockets-3.7before 3.7.5-1.33.7.5-1.3
openSUSE:Tumbleweedrubygem-sprockets-3.7before 3.7.5-1.53.7.5-1.5
Red Hat:cloudforms_managementengine:5.8::el7ansible-tower-serverbefore 0:3.1.8-1.el7at0:3.1.8-1.el7at
Red Hat:cloudforms_managementengine:5.8::el7ansible-tower-setupbefore 0:3.1.8-1.el7at0:3.1.8-1.el7at
Red Hat:cloudforms_managementengine:5.8::el7cfmebefore 0:5.8.5.1-1.el7cf0:5.8.5.1-1.el7cf
Red Hat:cloudforms_managementengine:5.8::el7cfme-appliancebefore 0:5.8.5.1-1.el7cf0:5.8.5.1-1.el7cf
Red Hat:cloudforms_managementengine:5.8::el7cfme-appliance-debuginfobefore 0:5.8.5.1-1.el7cf0:5.8.5.1-1.el7cf
Red Hat:cloudforms_managementengine:5.8::el7cfme-debuginfobefore 0:5.8.5.1-1.el7cf0:5.8.5.1-1.el7cf
Red Hat:cloudforms_managementengine:5.8::el7cfme-gemsetbefore 0:5.8.5.1-1.el7cf0:5.8.5.1-1.el7cf
Red Hat:cloudforms_managementengine:5.8::el7rh-postgresql95-postgresql-pglogicalbefore 0:1.2.1-2.el7cf0:1.2.1-2.el7cf
Red Hat:cloudforms_managementengine:5.8::el7rh-postgresql95-postgresql-pglogical-debuginfobefore 0:1.2.1-2.el7cf0:1.2.1-2.el7cf
Red Hat:cloudforms_managementengine:5.9::el7cfmebefore 0:5.9.4.7-1.el7cf0:5.9.4.7-1.el7cf
Red Hat:cloudforms_managementengine:5.9::el7cfme-amazon-smartstatebefore 0:5.9.4.7-1.el7cf0:5.9.4.7-1.el7cf
Red Hat:cloudforms_managementengine:5.9::el7cfme-appliancebefore 0:5.9.4.7-1.el7cf0:5.9.4.7-1.el7cf

+35

Other highest-scoring records for the same primary product.

  • CVE-2016-5402A code injection flaw was found in the way capacity and utilization imported control files are processed.
    37Monitor
  • CVE-2020-14325Red Hat CloudForms before 5.11.7.0 was vulnerable to the User Impersonation authorization flaw which allows malicious attacker to create exi
    36Monitor
  • CVE-2017-7530In CloudForms Management Engine (cfme) before 5.7.3 and 5.8.x before 5.8.1, it was found that privilege check is missing when invoking arbit
    36Monitor
  • CVE-2016-4471ManageIQ in CloudForms before 4.1 allows remote authenticated users to execute arbitrary code.
    36Monitor
  • CVE-2016-5383The web UI in Red Hat CloudForms 4.1 allows remote authenticated users to execute arbitrary code via vectors involving "Lack of field filter
    36Monitor
  • CVE-2014-0197CFME: CSRF protection vulnerability via permissive check of the referrer header
    35Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:ruby-sprockets3.7.0-1.1 · Debian:12Package registry (OSV)
opensuse:ruby3.2-rubygem-sprockets4.1.1-1.6 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ruby3.2-rubygem-sprockets-3.73.7.2-1.20 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:rubygem-sprockets4.0.3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:rubygem-sprockets-3.73.7.3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:cfme0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:cfme-amazon-smartstate0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:cfme-appliance0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:cfme-appliance-common0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:cfme-appliance-debuginfo0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:cfme-appliance-tools0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:cfme-debuginfo0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:cfme-gemset0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:rh-ror42-rubygem-sprockets0:3.2.0-5.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-ror42-rubygem-sprockets-doc0:3.2.0-5.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-ror50-rubygem-sprockets0:3.7.1-2.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-ror50-rubygem-sprockets-doc0:3.7.1-2.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
RubyGems:sprockets2.12.5Package registry (OSV)
RubyGems:sprockets3.7.2Package registry (OSV)
RubyGems:sprockets4.0.0.beta8Package registry (OSV)
suse:crowbar4.0+git.1528801103.f5708341-7.20.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:crowbar-core4.0+git.1534246408.3ab19c567-9.33.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:crowbar-ha4.0+git.1533750802.5768e73-4.34.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:crowbar-init5.0+git.1520420379.d5bbb35-3.3.1 · SUSE:OpenStack Cloud Crowbar 8Package registry (OSV)
suse:crowbar-openstack4.0+git.1534254269.ce598a9fe-9.39.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:crowbar-ui1.1.0+git.1533844061.4ac8e723-4.3.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:rubygem-sprockets3.7.2-3.3.1 · SUSE:Linux Enterprise High Availability Extension 15Package registry (OSV)
suse:rubygem-sprockets-2_122.12.5-1.4.1 · SUSE:OpenStack Cloud Crowbar 8Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×3

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Nuclei detection templateNuclei template CVE-2018-3760 —
Proof-of-concept repository on GitHubstars:82019-10-21
Proof-of-concept repository on GitHubstars:32020-06-24
Proof-of-concept repository on GitHubstars:02024-11-19

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+481 d
  3. TodaySep 30, 2026+3018 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records