Advisory

GHSA-73qw-ww62-m54x

Also known as: CVE-2015-7541

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-02-19 05:32 UTC

Affected packages and fixes

colorscore

RubyGems · All systems

Affected

  • introduced 0, fixed 0.0.5 (ecosystem)

Fixed versions

0.0.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences