GHSA-5ww9-9qp2-x524

    Dashboard / Vulnerabilities / GHSA-5ww9-9qp2-x524

    GHSA-5ww9-9qp2-x524

    Published: 24 Jun 2022Last Modified: 8 Dec 2024

    Summary: Improper handling of double quotes in file name in Diffy in Windows environment

    Details: The function that calls the diff tool in versions of Diffy prior to 3.4.1 does not properly handle double quotes in a filename when run in a Windows environment. This allows attackers to execute arbitrary commands via a crafted string.

    Affected packages

    Package

    Name: diffy

    Purl: pkg:gem/diffy

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.4.1

    Affected versions

    1.1.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
    GHSA-5ww9-9qp2-x524 | CVE-DB