CVE-2018-3760
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 3.7.0-1.1 |
| debian | bullseye | fixed | 3.7.0-1.1 |
| debian | forky | fixed | 3.7.0-1.1 |
| debian | sid | fixed | 3.7.0-1.1 |
| debian | trixie | fixed | 3.7.0-1.1 |
References
- https://groups.google.com/forum/#!topic/ruby-security-ann/2S9Pwz2i16k
- https://www.suse.com/security/cve/CVE-2018-3760.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-3760
- https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- https://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441
- https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5f
- https://access.redhat.com/errata/RHSA-2018:2244
- https://access.redhat.com/errata/RHSA-2018:2245
- https://access.redhat.com/errata/RHSA-2018:2561
- https://access.redhat.com/errata/RHSA-2018:2745
- https://github.com/rails/sprockets
- https://groups.google.com/d/msg/rubyonrails-security/ft_J--l55fM/7roDfQ50BwAJ
- https://www.debian.org/security/2018/dsa-4242
- https://security-tracker.debian.org/tracker/CVE-2018-3760
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.