Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. colorscore
  4. ›
  5. CVE-2015-7541

CVE-2015-7541: Arbitrary Command Injection

January 8, 2016 (updated January 18, 2016)

The contents of the image_path, colors, and depth variables generated from possibly user-supplied input are passed directly to the shell. If a user supplies a value that includes shell metacharacters such as ‘;’, an attacker may be able to execute shell commands on the remote system as the user id of the Ruby process.

References

  • seclists.org/oss-sec/2016/q1/17
  • github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718

Code Behaviors & Features

Detect and mitigate CVE-2015-7541 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.4

Fixed versions

  • 0.0.5

Solution

Upgrade to version 0.0.5 or above.

Impact 10 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

gem/colorscore/CVE-2015-7541.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.