Back

HIGH

rubygem-sprockets: Path traversal in forbidden_request?() can allow remote attackers to read arbitrary files

Published Jun 26, 2018

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.

Affected products

Remediation

Red Hat mitigation

Ensure config.assets.compile = false in production.rb.

Metrics

References (17)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner hackerone
Published Jun 26, 2018
Updated Sep 16, 2024
Reserved Dec 28, 2017
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Jun 20, 2018
GHSA-PR3H-JJHJ-573X