CVE-2015-7541
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.5% in the next 30 days (EPSS).
- Severity: 10.0 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.5% · EPSS, next 30 days
- Weakness
- CWE-77 · Command injection
- Record status
- Modified
Affected
- Colorscore Project Colorscore ≤ 0.0.4
Attack profile CVSS 3.0 · 10.0
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2015-7541.md and follow it. Check whether this project is affected by CVE-2015-7541. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718
- https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718
References
- http://rubysec.com/advisories/CVE-2015-7541/
- http://www.openwall.com/lists/oss-security/2016/01/05/2
- https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718
- http://rubysec.com/advisories/CVE-2015-7541/
- http://www.openwall.com/lists/oss-security/2016/01/05/2
- https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718