GHSA-mhfv-8rc9-w38c

    Dashboard / Vulnerabilities / GHSA-mhfv-8rc9-w38c

    GHSA-mhfv-8rc9-w38c

    Published: 26 Mar 2022Last Modified: 5 Dec 2024

    Summary: Arbitrary shell execution

    Details: Uses of shell_exec() and exec() were not escaping filenames and configuration settings in most cases

    Affected packages

    Package

    Name: squizlabs/php_codesniffer

    Purl: pkg:composer/squizlabs/php_codesniffer

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 1.0.0
    Fixed -2.8.1

    Affected versions

    1.4.2
    1.4.3
    1.4.4
    1.4.5
    1.4.6
    1.4.7
    1.4.8

    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-mhfv-8rc9-w38c | CVE-DB