GHSA-73qw-ww62-m54x

    Dashboard / Vulnerabilities / GHSA-73qw-ww62-m54x

    GHSA-73qw-ww62-m54x

    Published: 24 Oct 2017Last Modified: 19 Feb 2024
    Aliases:

    Summary: colorscore Command Injection vulnerability

    Details: The initialize method in the Histogram class in `lib/colorscore/histogram.rb` in the colorscore gem before 0.0.5 for Ruby allows context-dependent attackers to execute arbitrary code via shell metacharacters in the (1) `image_path`, (2) `colors`, or (3) `depth` variable.

    Affected packages

    Package

    Name: colorscore

    Purl: pkg:gem/colorscore

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.0.5

    Affected versions

    0.0.1
    0.0.2
    0.0.3
    0.0.4

    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