GHSA-xg5r-8j97-2wrj

    Dashboard / Vulnerabilities / GHSA-xg5r-8j97-2wrj

    GHSA-xg5r-8j97-2wrj

    Published: 18 Feb 2019Last Modified: 8 Nov 2023

    Summary: Directory Traversal in restafary

    Details: Affected versions of `restafary` are susceptible to a directory traversal vulnerability when a root path is specified in the configuration. Proof of Concept ``` curl -i -s -k -X 'GET' -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQ=' 'http://localhost:8000/api/v1/fs/..%2f..%2fetc/passwd' ``` ## Recommendation Update to version 1.6.1 or later.

    Affected packages

    Package

    Name: restafary

    Purl: pkg:npm/restafary

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.6.1

    Affected versions

    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