GHSA-q2qh-cgc2-qhr3

    Dashboard / Vulnerabilities / GHSA-q2qh-cgc2-qhr3

    GHSA-q2qh-cgc2-qhr3

    Published: 27 Jul 2018Last Modified: 8 Nov 2023
    Aliases:

    Summary: Directory Traversal in serve

    Details: Affected versions of `serve` do not properly handle `%2e` (.) and `%2f` (/) characters, and allow the, characters to be used in paths. This can be used to traverse the directory tree and list content of any directory the user running the process has access to. Mitigating factors: This vulnerability only allows listing of directory contents and does not allow reading of arbitrary files. ## Recommendation Update to version 6.4.9 later.

    Affected packages

    Package

    Name: serve

    Purl: pkg:npm/serve

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -6.4.9

    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