ALPINE-CVE-2018-8780

    Dashboard / Vulnerabilities / ALPINE-CVE-2018-8780

    ALPINE-CVE-2018-8780

    Published: 3 Apr 2018Last Modified: 8 Jul 2026
    Upstream:

    Summary:

    Details: In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.

    Affected packages

    Package

    Name: ruby

    Purl: pkg:apk/alpine/ruby?arch=source

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.3.0
    Fixed -2.5.1-r0

    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
    ALPINE-CVE-2018-8780 | CVE-DB