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.
- BDU:2019-00440
- GHSA-pr3h-jjhj-573x
- DLA-1419-1
- DSA-4242-1
- openSUSE-SU-2024:11906-1
- openSUSE-SU-2024:13169-1
- openSUSE-SU-2024:13170-1
- openSUSE-SU-2024:14075-1
- openSUSE-SU-2024:14177-1
- openSUSE-SU-2025:15127-1
- openSUSE-SU-2025:15128-1
- openSUSE-SU-2026:10364-1
- openSUSE-SU-2026:10365-1
- RHSA-2018:2244
- RHSA-2018:2245
- RHSA-2018:2561
- RHSA-2018:2745
- SUSE-SU-2018:1994-1
- SUSE-SU-2018:2176-1
- SUSE-SU-2018:2217-1
- Published
- Jun 26, 2018
- Updated
- Jun 16, 2026
- EPSS
- 26.7% · 98th percentile
- CWE
- CWE-22
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
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
| Vendor | Product | CPE |
|---|---|---|
| redhat | cloudforms | cpe:2.3:a:redhat:cloudforms |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| sprockets project | sprockets | cpe:2.3:a:sprockets_project:sprockets |
| debian | debian linux | cpe:2.3:o:debian:debian_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | ruby-sprockets | before 3.7.0-1.1 | 3.7.0-1.1 |
| Debian:8 | ruby-sprockets | before 2.12.3-1+deb8u1 | 2.12.3-1+deb8u1 |
| Debian:9 | ruby-sprockets | before 3.7.0-1+deb9u1 | 3.7.0-1+deb9u1 |
| openSUSE:Tumbleweed | ruby3.2-rubygem-sprockets | before 4.1.1-1.6 | 4.1.1-1.6 |
| openSUSE:Tumbleweed | ruby3.2-rubygem-sprockets-3.7 | before 3.7.2-1.20 | 3.7.2-1.20 |
| openSUSE:Tumbleweed | rubygem-sprockets | before 4.0.3-1.1 | 4.0.3-1.1 |
| openSUSE:Tumbleweed | rubygem-sprockets | before 4.2.1-1.9 | 4.2.1-1.9 |
| openSUSE:Tumbleweed | rubygem-sprockets | before 4.2.1-1.7 | 4.2.1-1.7 |
| openSUSE:Tumbleweed | rubygem-sprockets | before 4.2.1-1.5 | 4.2.1-1.5 |
| openSUSE:Tumbleweed | rubygem-sprockets-3.7 | before 3.7.3-1.1 | 3.7.3-1.1 |
| openSUSE:Tumbleweed | rubygem-sprockets-3.7 | before 3.7.5-1.3 | 3.7.5-1.3 |
| openSUSE:Tumbleweed | rubygem-sprockets-3.7 | before 3.7.5-1.5 | 3.7.5-1.5 |
| Red Hat:cloudforms_managementengine:5.8::el7 | ansible-tower-server | before 0:3.1.8-1.el7at | 0:3.1.8-1.el7at |
| Red Hat:cloudforms_managementengine:5.8::el7 | ansible-tower-setup | before 0:3.1.8-1.el7at | 0:3.1.8-1.el7at |
| Red Hat:cloudforms_managementengine:5.8::el7 | cfme | before 0:5.8.5.1-1.el7cf | 0:5.8.5.1-1.el7cf |
| Red Hat:cloudforms_managementengine:5.8::el7 | cfme-appliance | before 0:5.8.5.1-1.el7cf | 0:5.8.5.1-1.el7cf |
| Red Hat:cloudforms_managementengine:5.8::el7 | cfme-appliance-debuginfo | before 0:5.8.5.1-1.el7cf | 0:5.8.5.1-1.el7cf |
| Red Hat:cloudforms_managementengine:5.8::el7 | cfme-debuginfo | before 0:5.8.5.1-1.el7cf | 0:5.8.5.1-1.el7cf |
| Red Hat:cloudforms_managementengine:5.8::el7 | cfme-gemset | before 0:5.8.5.1-1.el7cf | 0:5.8.5.1-1.el7cf |
| Red Hat:cloudforms_managementengine:5.8::el7 | rh-postgresql95-postgresql-pglogical | before 0:1.2.1-2.el7cf | 0:1.2.1-2.el7cf |
| Red Hat:cloudforms_managementengine:5.8::el7 | rh-postgresql95-postgresql-pglogical-debuginfo | before 0:1.2.1-2.el7cf | 0:1.2.1-2.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme | before 0:5.9.4.7-1.el7cf | 0:5.9.4.7-1.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-amazon-smartstate | before 0:5.9.4.7-1.el7cf | 0:5.9.4.7-1.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-appliance | before 0:5.9.4.7-1.el7cf | 0:5.9.4.7-1.el7cf |
+35
Same product
redhat: all recordsOther 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 exi36Monitor
- 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 arbit36Monitor
- 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 filter36Monitor
- CVE-2014-0197CFME: CSRF protection vulnerability via permissive check of the referrer header35Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:ruby-sprockets | 3.7.0-1.1 · Debian:12 | Package registry (OSV) |
| opensuse:ruby3.2-rubygem-sprockets | 4.1.1-1.6 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ruby3.2-rubygem-sprockets-3.7 | 3.7.2-1.20 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:rubygem-sprockets | 4.0.3-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:rubygem-sprockets-3.7 | 3.7.3-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:cfme | 0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7 | Package registry (OSV) |
| red hat:cfme-amazon-smartstate | 0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7 | Package registry (OSV) |
| red hat:cfme-appliance | 0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7 | Package registry (OSV) |
| red hat:cfme-appliance-common | 0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7 | Package registry (OSV) |
| red hat:cfme-appliance-debuginfo | 0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7 | Package registry (OSV) |
| red hat:cfme-appliance-tools | 0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7 | Package registry (OSV) |
| red hat:cfme-debuginfo | 0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7 | Package registry (OSV) |
| red hat:cfme-gemset | 0:5.9.4.7-1.el7cf · Red Hat:cloudforms_managementengine:5.9::el7 | Package registry (OSV) |
| red hat:rh-ror42-rubygem-sprockets | 0:3.2.0-5.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-ror42-rubygem-sprockets-doc | 0:3.2.0-5.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-ror50-rubygem-sprockets | 0:3.7.1-2.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-ror50-rubygem-sprockets-doc | 0:3.7.1-2.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| RubyGems:sprockets | 2.12.5 | Package registry (OSV) |
| RubyGems:sprockets | 3.7.2 | Package registry (OSV) |
| RubyGems:sprockets | 4.0.0.beta8 | Package registry (OSV) |
| suse:crowbar | 4.0+git.1528801103.f5708341-7.20.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
| suse:crowbar-core | 4.0+git.1534246408.3ab19c567-9.33.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
| suse:crowbar-ha | 4.0+git.1533750802.5768e73-4.34.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
| suse:crowbar-init | 5.0+git.1520420379.d5bbb35-3.3.1 · SUSE:OpenStack Cloud Crowbar 8 | Package registry (OSV) |
| suse:crowbar-openstack | 4.0+git.1534254269.ce598a9fe-9.39.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
| suse:crowbar-ui | 1.1.0+git.1533844061.4ac8e723-4.3.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
| suse:rubygem-sprockets | 3.7.2-3.3.1 · SUSE:Linux Enterprise High Availability Extension 15 | Package registry (OSV) |
| suse:rubygem-sprockets-2_12 | 2.12.5-1.4.1 · SUSE:OpenStack Cloud Crowbar 8 | Package 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.
| Source | Kind | Date |
|---|---|---|
| Nuclei detection template | Nuclei template CVE-2018-3760 | — |
| Proof-of-concept repository on GitHub | stars:8 | 2019-10-21 |
| Proof-of-concept repository on GitHub | stars:3 | 2020-06-24 |
| Proof-of-concept repository on GitHub | stars:0 | 2024-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.
- Published
- First PoC+481 d
- TodaySep 30, 2026+3018 d
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.
Credits
All researchersFinders, 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
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')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.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) { return res.sendStatus(400);}res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- access.redhat.com/errata/RHSA-2018:2244
- access.redhat.com/errata/RHSA-2018:2245
- access.redhat.com/errata/RHSA-2018:2561
- access.redhat.com/errata/RHSA-2018:2745
- github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5fhttps://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- groups.google.com/d/msg/rubyonrails-security/ft_J--l55fM/7roDfQ50BwAJ
- www.debian.org/security/2018/dsa-4242
Vendor advisories and official records. Exploit/PoC links are deliberately left out.