GHSA-9wcm-rrvh-qjc8: Colorscore High Severity Vulnerability That Affects Vulnerability
HIGHGHSA-9wcm-rrvh-qjc8 is a HIGH high severity vulnerability that affects vulnerability (General Security Weakness) affecting Colorscore libraries in the RubyGems ecosystem. The issue involves high severity vulnerability that affects colorscore. Remediation is available by upgrading affected packages to version 0.0.5.
GHSA-9wcm-rrvh-qjc8 at a Glance
How to Fix GHSA-9wcm-rrvh-qjc8
To remediate this vulnerability, upgrade all affected Colorscore dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade colorscore to 0.0.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for colorscore
How to Check if You Are Affected
To determine whether your application is affected by GHSA-9wcm-rrvh-qjc8, inspect your project dependencies for Colorscore:
inspect dependencies for colorscore
Analyze the terminal output to locate any version of Colorscore in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Colorscore, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-9wcm-rrvh-qjc8 Affected Colorscore Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
colorscore
|
RubyGems |
< 0.0.5
|
0.0.5
|
References
Frequently Asked Questions
What is GHSA-9wcm-rrvh-qjc8?
Which Colorscore versions are affected?
What version fixes GHSA-9wcm-rrvh-qjc8?
Is colorscore affected?
What CWE is associated with GHSA-9wcm-rrvh-qjc8?
How can I check RubyGems dependencies for GHSA-9wcm-rrvh-qjc8?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9wcm-rrvh-qjc8",
"modified" : "2020-06-17T15:14:43Z",
"published" : "2018-08-15T20:03:53Z",
"withdrawn" : "2020-06-17T15:14:43Z",
"aliases" : [ ],
"summary" : "High severity vulnerability that affects colorscore",
"details" : "Withdrawn, accidental duplicate publish.\n\nThe 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" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "colorscore"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-7541"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-9wcm-rrvh-qjc8"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-17T15:14:43Z",
"nvd_published_at" : null
}
}