Path traversal in HackerOne Sprockets
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 10 fixed, 2 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| HackerOne | Sprockets | 4.0.0.beta8, 3.7.2, 2.12.5 | — | No fix listed | CNA |
| — | sprockets (RubyGems) | 3.0.0 to before 3.7.2 | 3.7.2 | Patch available | GHSA-pr3h-jjhj-573x |
| — | sprockets (RubyGems) | 4.0.0.beta1 to before 4.0.0.beta8 | 4.0.0.beta8 | Patch available | GHSA-pr3h-jjhj-573x |
| — | sprockets (RubyGems) | before 2.12.5 | 2.12.5 | Patch available | GHSA-pr3h-jjhj-573x |
- Sprockets VendorHackerOne Affected 4.0.0.beta8, 3.7.2, 2.12.5 Fixed in — No fix listed CNA
- sprockets (RubyGems) Vendor— Affected 3.0.0 to before 3.7.2 Fixed in 3.7.2 Patch available GHSA-pr3h-jjhj-573x
- sprockets (RubyGems) Vendor— Affected 4.0.0.beta1 to before 4.0.0.beta8 Fixed in 4.0.0.beta8 Patch available GHSA-pr3h-jjhj-573x
- sprockets (RubyGems) Vendor— Affected before 2.12.5 Fixed in 2.12.5 Patch available GHSA-pr3h-jjhj-573x
CPE configurations NVD · 18
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:cloudforms:4.5:*:*:*:*:*:*:* | 4.5 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:* | 4.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:6.7:*:*:*:*:*:*:* | 6.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:a:sprockets_project:sprockets:*:*:*:*:*:*:*:* | 2.0.0 – 2.12.4; 3.0.0 – 3.7.1 | Vulnerable | Sprockets Project |
- cpe:2.3:a:redhat:cloudforms:4.5:*:*:*:*:*:*:* Versions 4.5 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:* Versions 4.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:6.7:*:*:*:*:*:*:* Versions 6.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:a:sprockets_project:sprockets:*:*:*:*:*:*:*:* Versions 2.0.0 – 2.12.4; 3.0.0 – 3.7.1 Vulnerable ·Sprockets Project
Show 8 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta1:*:*:*:*:*:* | 4.0.0 beta1 | Vulnerable | Sprockets Project |
| cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta2:*:*:*:*:*:* | 4.0.0 beta2 | Vulnerable | Sprockets Project |
| cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta3:*:*:*:*:*:* | 4.0.0 beta3 | Vulnerable | Sprockets Project |
| cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta4:*:*:*:*:*:* | 4.0.0 beta4 | Vulnerable | Sprockets Project |
| cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta5:*:*:*:*:*:* | 4.0.0 beta5 | Vulnerable | Sprockets Project |
| cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta6:*:*:*:*:*:* | 4.0.0 beta6 | Vulnerable | Sprockets Project |
| cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta7:*:*:*:*:*:* | 4.0.0 beta7 | Vulnerable | Sprockets Project |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta1:*:*:*:*:*:* Versions 4.0.0 beta1 Vulnerable ·Sprockets Project
- cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta2:*:*:*:*:*:* Versions 4.0.0 beta2 Vulnerable ·Sprockets Project
- cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta3:*:*:*:*:*:* Versions 4.0.0 beta3 Vulnerable ·Sprockets Project
- cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta4:*:*:*:*:*:* Versions 4.0.0 beta4 Vulnerable ·Sprockets Project
- cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta5:*:*:*:*:*:* Versions 4.0.0 beta5 Vulnerable ·Sprockets Project
- cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta6:*:*:*:*:*:* Versions 4.0.0 beta6 Vulnerable ·Sprockets Project
- cpe:2.3:a:sprockets_project:sprockets:4.0.0:beta7:*:*:*:*:*:* Versions 4.0.0 beta7 Vulnerable ·Sprockets Project
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
- Fix · GHSA-pr3h-jjhj-573x sprockets (RubyGems) Fixed in 3.7.2 Advisory →
- Fix · GHSA-pr3h-jjhj-573x sprockets (RubyGems) Fixed in 4.0.0.beta8 Advisory →
- Fix · GHSA-pr3h-jjhj-573x sprockets (RubyGems) Fixed in 2.12.5 Advisory →
Red Hat 4 advisories
- RHSA-2018:2745 Released 2018-09-26 · Red Hat rating ImportantCloudForms 4.5.5 security, bug fix and enhancement update
- CloudForms Management Engine 5.8 ansible-tower-server-3.1.8-1.el7at, ansible-tower-setup-3.1.8-1.el7at, cfme-5.8.5.1-1.el7cf +3
- RHSA-2018:2561 Released 2018-09-04 · Red Hat rating ImportantCloudForms 4.6.4 security, bug fix, and enhancement update
- CloudForms Management Engine 5.9 cfme-5.9.4.7-1.el7cf, cfme-amazon-smartstate-5.9.4.7-1.el7cf, cfme-appliance-5.9.4.7-1.el7cf +6
- RHSA-2018:2244 Released 2018-07-24 · Red Hat rating Importantrh-ror42-rubygem-sprockets security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ror42-rubygem-sprockets-3.2.0-5.el6, rh-ror42-rubygem-sprockets-doc-3.2.0-5.el6
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ror42-rubygem-sprockets-3.2.0-5.el7, rh-ror42-rubygem-sprockets-doc-3.2.0-5.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-ror42-rubygem-sprockets-3.2.0-5.el6, rh-ror42-rubygem-sprockets-doc-3.2.0-5.el6
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-ror42-rubygem-sprockets-3.2.0-5.el7, rh-ror42-rubygem-sprockets-doc-3.2.0-5.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ror42-rubygem-sprockets-3.2.0-5.el7, rh-ror42-rubygem-sprockets-doc-3.2.0-5.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ror42-rubygem-sprockets-3.2.0-5.el7, rh-ror42-rubygem-sprockets-doc-3.2.0-5.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ror42-rubygem-sprockets-3.2.0-5.el6, rh-ror42-rubygem-sprockets-doc-3.2.0-5.el6
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ror42-rubygem-sprockets-3.2.0-5.el7, rh-ror42-rubygem-sprockets-doc-3.2.0-5.el7
Show 1 more Red Hat advisories
- RHSA-2018:2245 Released 2018-07-24 · Red Hat rating Importantrh-ror50-rubygem-sprockets security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ror50-rubygem-sprockets-3.7.1-2.el6, rh-ror50-rubygem-sprockets-doc-3.7.1-2.el6
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ror50-rubygem-sprockets-3.7.1-2.el7, rh-ror50-rubygem-sprockets-doc-3.7.1-2.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-ror50-rubygem-sprockets-3.7.1-2.el6, rh-ror50-rubygem-sprockets-doc-3.7.1-2.el6
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-ror50-rubygem-sprockets-3.7.1-2.el7, rh-ror50-rubygem-sprockets-doc-3.7.1-2.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ror50-rubygem-sprockets-3.7.1-2.el7, rh-ror50-rubygem-sprockets-doc-3.7.1-2.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ror50-rubygem-sprockets-3.7.1-2.el7, rh-ror50-rubygem-sprockets-doc-3.7.1-2.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ror50-rubygem-sprockets-3.7.1-2.el6, rh-ror50-rubygem-sprockets-doc-3.7.1-2.el6
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ror50-rubygem-sprockets-3.7.1-2.el7, rh-ror50-rubygem-sprockets-doc-3.7.1-2.el7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 1.3 | Affected | No fix planned: Will not fix |
| Red Hat Subscription Asset Manager | Affected | No fix planned: Will not fix |
| CloudForms Management Engine 5.8 | Fixed | RHSA-2018:2745 |
| CloudForms Management Engine 5.9 | Fixed | RHSA-2018:2561 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:2244, RHSA-2018:2245 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:2244, RHSA-2018:2245 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Fixed | RHSA-2018:2244, RHSA-2018:2245 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Fixed | RHSA-2018:2244, RHSA-2018:2245 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:2244, RHSA-2018:2245 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:2244, RHSA-2018:2245 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:2244, RHSA-2018:2245 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:2244, RHSA-2018:2245 |
Not affected: 1 product
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2018-3760
- 2026-10-03 Alias added: GHSA-pr3h-jjhj-573x
References
Advisory 6
Other 5
- https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5fhttps://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- https://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441
- https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5f
- https://github.com/rails/sprockets
Sources
- CVE-2018-3760 · CVE Program
- CVE-2018-3760 · NVD
- FIRST EPSS
- GHSA-pr3h-jjhj-573x · GitHub Advisory Database · CC BY 4.0
- CVE-2018-3760 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences