CVE-2018-3760
HIGH 7.5CVSS 3.0Sprockets path traversal leads to information leak
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.
- Published
- 26 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-22
- Also known as
- GHSA-pr3h-jjhj-573x
- Sources
- NVDJSONOSV GHSA-pr3h-jjhj-573xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | cloudformscpe:2.3:a:redhat:cloudforms:4.5:*:*:*:*:*:*:* |
= 4.5 | |
| NVD | redhat | cloudformscpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:* |
= 4.6 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:6.7:*:*:*:*:*:*:* |
= 6.7 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:* |
= 7.3 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* |
= 7.5 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | sprockets_project | sprocketscpe:2.3:a:sprockets_project:sprockets:*:*:*:*:*:*:*:* |
>= 2.0.0, <= 2.12.4 | |
| NVD | sprockets_project | sprocketscpe:2.3:a:sprockets_project:sprockets:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 3.7.1 | |
| NVD | sprockets_project | sprocketscpe:2.3:a:sprockets_project:sprockets:4.0.0:beta1:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | sprockets_project | sprocketscpe:2.3:a:sprockets_project:sprockets:4.0.0:beta2:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | sprockets_project | sprocketscpe:2.3:a:sprockets_project:sprockets:4.0.0:beta3:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | sprockets_project | sprocketscpe:2.3:a:sprockets_project:sprockets:4.0.0:beta4:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | sprockets_project | sprocketscpe:2.3:a:sprockets_project:sprockets:4.0.0:beta5:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | sprockets_project | sprocketscpe:2.3:a:sprockets_project:sprockets:4.0.0:beta6:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | sprockets_project | sprocketscpe:2.3:a:sprockets_project:sprockets:4.0.0:beta7:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | RubyGems | sprockets | >= 3.0.0, < 3.7.2 | 3.7.2 |
| OSV | RubyGems | sprockets | >= 4.0.0.beta1, < 4.0.0.beta8 | 4.0.0.beta8 |
| OSV | RubyGems | sprockets | < 2.12.5 | 2.12.5 |
References
- https://access.redhat.com/errata/RHSA-2018:2244 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2018:2245 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2018:2561 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2018:2745 · Third Party Advisory, WEB
- https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5fhttps://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5 · Broken Link
- https://groups.google.com/d/msg/rubyonrails-security/ft_J--l55fM/7roDfQ50BwAJ · Patch, Third Party Advisory, WEB
- https://www.debian.org/security/2018/dsa-4242 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-3760 · ADVISORY
- https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5 · WEB
- https://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441 · WEB
- https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5f · WEB
- https://github.com/rails/sprockets · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 26 Jun 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Jun 2018)