CVE-2018-3760
publishedrubygem-sprockets: Path traversal in forbidden_request?() can allow remote attackers to read arbitrary files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HackerOne | — | Sprockets4.0.0.beta8, 3.7.2, 2.12.5 | Affected | Not stated | hackerone |
| Debian | jessie | ruby-sprockets | Advisory build | 2.12.3-1+deb8u1 | DLA-1419-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ror42-rubygem-sprocketsnoarch | Advisory build | 3.2.0-5.el6 | RHSA-2018:2244 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-sprocketsaarch64 | Advisory build | 3.7.2-3.3.1 | SUSE-SU-2018:1994-1 |
| Ubuntu | xenial | ruby-sprockets | Advisory build | 3.3.0-1ubuntu0.1~esm1 | USN-8990-1 |
| Debian | stretch | ruby-sprockets | Advisory build | 3.7.0-1+deb9u1 | DSA-4242-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ror42-rubygem-sprocketssrc | Advisory build | 3.2.0-5.el6 | RHSA-2018:2244 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ror42-rubygem-sprockets-docnoarch | Advisory build | 3.2.0-5.el6 | RHSA-2018:2244 |
Show 64 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-6 | rh-ror50-rubygem-sprocketsnoarch | Advisory build | 3.7.1-2.el6 | RHSA-2018:2245 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ror50-rubygem-sprocketssrc | Advisory build | 3.7.1-2.el6 | RHSA-2018:2245 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ror50-rubygem-sprockets-docnoarch | Advisory build | 3.7.1-2.el6 | RHSA-2018:2245 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-sprocketsnoarch | Advisory build | 3.2.0-5.el7 | RHSA-2018:2244 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-sprocketssrc | Advisory build | 3.2.0-5.el7 | RHSA-2018:2244 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-sprockets-docnoarch | Advisory build | 3.2.0-5.el7 | RHSA-2018:2244 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror50-rubygem-sprocketsnoarch | Advisory build | 3.7.1-2.el7 | RHSA-2018:2245 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror50-rubygem-sprocketssrc | Advisory build | 3.7.1-2.el7 | RHSA-2018:2245 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror50-rubygem-sprockets-docnoarch | Advisory build | 3.7.1-2.el7 | RHSA-2018:2245 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-sprocketsppc64le | Advisory build | 3.7.2-3.3.1 | SUSE-SU-2018:1994-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-sprocketss390x | Advisory build | 3.7.2-3.3.1 | SUSE-SU-2018:1994-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-sprocketsx86_64 | Advisory build | 3.7.2-3.3.1 | SUSE-SU-2018:1994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-sprocketsaarch64 | Advisory build | 4.0.2-1.7 | OPENSUSE-SU-2024:11354-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-sprocketsppc64le | Advisory build | 4.0.2-1.7 | OPENSUSE-SU-2024:11354-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-sprocketss390x | Advisory build | 4.0.2-1.7 | OPENSUSE-SU-2024:11354-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-sprocketsx86_64 | Advisory build | 4.0.2-1.7 | OPENSUSE-SU-2024:11354-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-sprockets-3.7aarch64 | Advisory build | 3.7.2-1.10 | OPENSUSE-SU-2024:11355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-sprockets-3.7ppc64le | Advisory build | 3.7.2-1.10 | OPENSUSE-SU-2024:11355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-sprockets-3.7s390x | Advisory build | 3.7.2-1.10 | OPENSUSE-SU-2024:11355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-sprockets-3.7x86_64 | Advisory build | 3.7.2-1.10 | OPENSUSE-SU-2024:11355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-sprocketsaarch64 | Advisory build | 4.0.2-1.7 | OPENSUSE-SU-2024:11354-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-sprocketsppc64le | Advisory build | 4.0.2-1.7 | OPENSUSE-SU-2024:11354-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-sprocketss390x | Advisory build | 4.0.2-1.7 | OPENSUSE-SU-2024:11354-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-sprocketsx86_64 | Advisory build | 4.0.2-1.7 | OPENSUSE-SU-2024:11354-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-sprockets-3.7aarch64 | Advisory build | 3.7.2-1.10 | OPENSUSE-SU-2024:11355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-sprockets-3.7ppc64le | Advisory build | 3.7.2-1.10 | OPENSUSE-SU-2024:11355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-sprockets-3.7s390x | Advisory build | 3.7.2-1.10 | OPENSUSE-SU-2024:11355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-sprockets-3.7x86_64 | Advisory build | 3.7.2-1.10 | OPENSUSE-SU-2024:11355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-sprocketsaarch64 | Advisory build | 4.0.3-1.1 | OPENSUSE-SU-2024:11906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-sprocketsppc64le | Advisory build | 4.0.3-1.1 | OPENSUSE-SU-2024:11906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-sprocketss390x | Advisory build | 4.0.3-1.1 | OPENSUSE-SU-2024:11906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-sprocketsx86_64 | Advisory build | 4.0.3-1.1 | OPENSUSE-SU-2024:11906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-sprocketsaarch64 | Advisory build | 4.1.1-1.6 | OPENSUSE-SU-2024:13169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-sprocketsppc64le | Advisory build | 4.1.1-1.6 | OPENSUSE-SU-2024:13169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-sprocketss390x | Advisory build | 4.1.1-1.6 | OPENSUSE-SU-2024:13169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-sprocketsx86_64 | Advisory build | 4.1.1-1.6 | OPENSUSE-SU-2024:13169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-sprockets-3.7aarch64 | Advisory build | 3.7.2-1.20 | OPENSUSE-SU-2024:13170-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-sprockets-3.7ppc64le | Advisory build | 3.7.2-1.20 | OPENSUSE-SU-2024:13170-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-sprockets-3.7s390x | Advisory build | 3.7.2-1.20 | OPENSUSE-SU-2024:13170-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-sprockets-3.7x86_64 | Advisory build | 3.7.2-1.20 | OPENSUSE-SU-2024:13170-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-sprocketsaarch64 | Advisory build | 4.2.1-1.5 | OPENSUSE-SU-2024:14177-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-sprocketsppc64le | Advisory build | 4.2.1-1.5 | OPENSUSE-SU-2024:14177-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-sprocketss390x | Advisory build | 4.2.1-1.5 | OPENSUSE-SU-2024:14177-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-sprocketsx86_64 | Advisory build | 4.2.1-1.5 | OPENSUSE-SU-2024:14177-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-sprockets-3.7aarch64 | Advisory build | 3.7.3-1.1 | OPENSUSE-SU-2024:14075-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-sprockets-3.7ppc64le | Advisory build | 3.7.3-1.1 | OPENSUSE-SU-2024:14075-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-sprockets-3.7s390x | Advisory build | 3.7.3-1.1 | OPENSUSE-SU-2024:14075-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-sprockets-3.7x86_64 | Advisory build | 3.7.3-1.1 | OPENSUSE-SU-2024:14075-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-sprocketsaarch64 | Advisory build | 4.2.1-1.7 | OPENSUSE-SU-2025:15127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-sprocketsppc64le | Advisory build | 4.2.1-1.7 | OPENSUSE-SU-2025:15127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-sprocketss390x | Advisory build | 4.2.1-1.7 | OPENSUSE-SU-2025:15127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-sprocketsx86_64 | Advisory build | 4.2.1-1.7 | OPENSUSE-SU-2025:15127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-sprockets-3.7aarch64 | Advisory build | 3.7.5-1.3 | OPENSUSE-SU-2025:15128-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-sprockets-3.7ppc64le | Advisory build | 3.7.5-1.3 | OPENSUSE-SU-2025:15128-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-sprockets-3.7s390x | Advisory build | 3.7.5-1.3 | OPENSUSE-SU-2025:15128-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-sprockets-3.7x86_64 | Advisory build | 3.7.5-1.3 | OPENSUSE-SU-2025:15128-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-sprocketsaarch64 | Advisory build | 4.2.1-1.9 | OPENSUSE-SU-2026:10364-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-sprocketsppc64le | Advisory build | 4.2.1-1.9 | OPENSUSE-SU-2026:10364-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-sprocketss390x | Advisory build | 4.2.1-1.9 | OPENSUSE-SU-2026:10364-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-sprocketsx86_64 | Advisory build | 4.2.1-1.9 | OPENSUSE-SU-2026:10364-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-sprockets-3.7aarch64 | Advisory build | 3.7.5-1.5 | OPENSUSE-SU-2026:10365-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-sprockets-3.7ppc64le | Advisory build | 3.7.5-1.5 | OPENSUSE-SU-2026:10365-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-sprockets-3.7s390x | Advisory build | 3.7.5-1.5 | OPENSUSE-SU-2026:10365-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-sprockets-3.7x86_64 | Advisory build | 3.7.5-1.5 | OPENSUSE-SU-2026:10365-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HackerOne | Sprockets | 4.0.0.beta8, 3.7.2, 2.12.5 (affected) | hackerone · cna |
Weaknesses
1- CWE-22 Path Traversal (CWE-22)
References
7- RHSA-2018:2244 https://access.redhat.com/errata/RHSA-2018:2244
- RHSA-2018:2245 https://access.redhat.com/errata/RHSA-2018:2245
- RHSA-2018:2561 https://access.redhat.com/errata/RHSA-2018:2561
- RHSA-2018:2745 https://access.redhat.com/errata/RHSA-2018:2745
- https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5fhttps://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- https://groups.google.com/d/msg/rubyonrails-security/ft_J--l55fM/7roDfQ50BwAJ
- DSA-4242 https://www.debian.org/security/2018/dsa-4242
Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5c64af89c37b1a43d8314ca702a129e406b534a3be2b8e1c3d35da8590427abd
- Ingested
- 23 Sep 2026, 07:44:43 UTC
- Source record
- Official CVE record