GHSA-gj4p-3wh3-2rmf

    Dashboard / Vulnerabilities / GHSA-gj4p-3wh3-2rmf

    GHSA-gj4p-3wh3-2rmf

    Published: 21 Dec 2017Last Modified: 16 Feb 2024

    Summary: Arbitrary file read vulnerability in yard server

    Details: `lib/yard/core_ext/file.rb` in the server in YARD before 0.9.11 does not block relative paths with an initial `../` sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files.

    Affected packages

    Package

    Name: yard

    Purl: pkg:gem/yard

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.9.11

    Affected versions

    0.2.0
    0.2.1
    0.2.2
    0.2.3
    0.2.3.2
    0.2.3.3
    0.2.3.4
    0.2.3.5

    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