CVE-2017-17042

    Dashboard / Vulnerabilities / CVE-2017-17042

    CVE-2017-17042

    Published: 28 Nov 2017Last Modified: 7 Aug 2026

    Summary:

    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:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v0.9.10
    v0.9.9
    v0.9.8
    v0.9.7
    v0.9.6
    v0.9.5
    v0.9.4
    v0.9.3
    v0.9.2
    v0.9.1
    v0.9.0

    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
    CVE-2017-17042 | CVE-DB