GHSA-pr3h-jjhj-573x

    Dashboard / Vulnerabilities / GHSA-pr3h-jjhj-573x

    GHSA-pr3h-jjhj-573x

    Published: 20 Jun 2018Last Modified: 16 Feb 2024
    Aliases:

    Summary: Sprockets path traversal leads to information leak

    Details: Specially crafted requests can be used to access files that exist 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. ### Workaround: In Rails applications, work around this issue, set `config.assets.compile = false` and `config.public_file_server.enabled = true` in an initializer and precompile the assets. This work around will not be possible in all hosting environments and upgrading is advised.

    Affected packages

    Package

    Name: sprockets

    Purl: pkg:gem/sprockets

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.0.0
    Fixed -3.7.2

    Affected versions

    3.0.0
    3.0.1
    3.0.2
    3.0.3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-pr3h-jjhj-573x | CVE-DB