Loading...
Skip to main content

CVE-2015-7541 — Vulnerability in colorscore — CVE Details

CRITICAL

colorscore Command Injection vulnerability

Published October 24, 2017Updated February 19, 2024Source: osv

Summary

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.

Advisory Timeline

  • First published October 24, 2017 (3275 days ago).
  • Last revised February 19, 2024 — 2308 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update colorscore to 0.0.5 or later
gem install colorscore -v 0.0.5

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
colorscore
rubygems
0.0.1, 0.0.2, 0.0.3, 0.0.40.0.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2015-7541?
colorscore Command Injection vulnerability This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2015-7541?
CVE-2015-7541 affects colorscore. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2015-7541 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-73qw-ww62-m54x

Related CVEs

  • CVE-2026-55107
    CRITICAL

    kobako Sandbox Escape: guest eval reaches host RCE via method_missing → public_send (any bound Service)

  • CVE-2026-77602
    CRITICAL

    OpenC3 COSMOS: Authenticated remote code execution via the user-writable config overlay (table definitions, cmd/tlm definitions, and script suites)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies