CVE-2018-3760
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.0•HIGH•Score: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 93.89%• Percentile: 100%
Techniques & Countermeasures
- CWE-200•Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- debian•debian_linux
9.0
- hackerone•sprockets
4.0.0.beta8, 3.7.2, 2.12.5
- redhat•cloudforms
4.5 | 4.6
- redhat•enterprise_linux
6.0 | 6.7 | 7.0 | 7.3 | 7.4 | 7.5 | 7.6
- sprockets_project•sprockets
≥ 2.0.0, ≤ 2.12.4 | ≥ 3.0.0, ≤ 3.7.1 | 4.0.0:beta1 | 4.0.0:beta2 | 4.0.0:beta3 | 4.0.0:beta4 | 4.0.0:beta5 | 4.0.0:beta6 | 4.0.0:beta7
References (7)
- https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5fhttps://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- https://access.redhat.com/errata/RHSA-2018:2745
- https://groups.google.com/d/msg/rubyonrails-security/ft_J--l55fM/7roDfQ50BwAJ
- https://access.redhat.com/errata/RHSA-2018:2244
- https://access.redhat.com/errata/RHSA-2018:2561
- https://access.redhat.com/errata/RHSA-2018:2245
- https://www.debian.org/security/2018/dsa-4242