Advisory

GHSA-33pp-3763-mrfp

Also known as: CVE-2014-7819

Summary

sprockets vulnerable to Path Traversal

Details

Multiple directory traversal vulnerabilities in server.rb in Sprockets before 2.0.5, 2.1.x before 2.1.4, 2.2.x before 2.2.3, 2.3.x before 2.3.3, 2.4.x before 2.4.6, 2.5.x before 2.5.1, 2.6.x and 2.7.x before 2.7.1, 2.8.x before 2.8.3, 2.9.x before 2.9.4, 2.10.x before 2.10.2, 2.11.x before 2.11.3, 2.12.x before 2.12.3, and 3.x before 3.0.0.beta.3, as distributed with Ruby on Rails 3.x and 4.x, allow remote attackers to determine the existence of files outside the application root via a ../ (dot dot slash) sequence with (1) double slashes or (2) URL encoding.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-11-28 05:27 UTC

Affected packages and fixes

12 affected packages; all RubyGems · All systems
PackageAffectedFix
sprocketsEarlier versionsThe export has no generic command for this ecosystem.
sprocketsintroduced 2.1.0, fixed 2.1.4The export has no generic command for this ecosystem.
sprocketsintroduced 2.2.0, fixed 2.2.3The export has no generic command for this ecosystem.
sprocketsintroduced 2.3.0, fixed 2.3.3The export has no generic command for this ecosystem.
sprocketsintroduced 2.4.0, fixed 2.4.6The export has no generic command for this ecosystem.
sprocketsintroduced 2.5.0, fixed 2.5.1The export has no generic command for this ecosystem.
sprocketsintroduced 2.6.0, fixed 2.7.1The export has no generic command for this ecosystem.
sprocketsintroduced 2.8.0, fixed 2.8.3The export has no generic command for this ecosystem.
sprocketsintroduced 2.9.0, fixed 2.9.4The export has no generic command for this ecosystem.
sprocketsintroduced 2.10.0, fixed 2.10.2The export has no generic command for this ecosystem.
sprocketsintroduced 2.11.0, fixed 2.11.3The export has no generic command for this ecosystem.
sprocketsintroduced 2.12.0, fixed 2.12.3The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences