GHSA-vqcq-mrmw-mcmg

    Dashboard / Vulnerabilities / GHSA-vqcq-mrmw-mcmg

    GHSA-vqcq-mrmw-mcmg

    Published: 6 Sept 2018Last Modified: 16 Feb 2024

    Summary: Rubyzip gem contains a Directory Traversal vulnerability in zip file component

    Details: rubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. This attack appear to be exploitable via If a site allows uploading of .zip files , an attacker can upload a malicious file that contains symlinks or files with absolute pathnames "../" to write arbitrary files to the filesystem.. This is similar to CVE-2017-5946 which was patched in 1.2.1 but the fix in that case was incomplete.

    Affected packages

    Package

    Name: rubyzip

    Purl: pkg:gem/rubyzip

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.2.2

    Affected versions

    0.5.11
    0.5.12
    0.5.7
    0.5.8
    0.5.9

    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
    GHSA-vqcq-mrmw-mcmg | CVE-DB