Home / Oracle / Solaris / CVE-2015-4020
CVE-2015-4020: is it exploited, and which versions of Oracle Solaris are affected and fixed?
CVE-2015-4020 is an improper input validation vulnerability in Oracle Solaris. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: rubygems-update before 2.0.17, rubygems-update from 2.1.0.rc.1 before 2.2.5 and rubygems-update from 2.3.0 before 2.4.8 (GitHub advisory GHSA-qv62-xfj6-32xm). Fixed in 2.0.17, 2.2.5 and 2.4.8 (GitHub advisory GHSA-qv62-xfj6-32xm). Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is CVE-2015-4020?
RubyGems 2.0.x before 2.0.17, 2.2.x before 2.2.5, and 2.4.x before 2.4.8 does not validate the hostname when fetching gems or making API requests, which allows remote attackers to redirect requests to arbitrary domains via a crafted DNS SRV record with a domain that is suffixed with the original domain name, aka a "DNS hijack attack." NOTE: this vulnerability exists because to an incomplete fix for CVE-2015-3900.
From the CVE record by mitre, last updated August 6, 2024, 06:04 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rubygems-update | < 2.0.17 | 2.0.17 | GHSA-qv62-xfj6-32xm |
| RubyGems | rubygems-update | >= 2.1.0.rc.1, < 2.2.5 | 2.2.5 | GHSA-qv62-xfj6-32xm |
| RubyGems | rubygems-update | >= 2.3.0, < 2.4.8 | 2.4.8 | GHSA-qv62-xfj6-32xm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 4, 2023. Summary: RubyGems Improper Input Validation vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| oracle | solaris | 11.3 | operating system |
| rubygems | rubygems | 2.0.0 | application |
| rubygems | rubygems | 2.0.1 | application |
| rubygems | rubygems | 2.0.2 | application |
| rubygems | rubygems | 2.0.3 | application |
| rubygems | rubygems | 2.0.4 | application |
| rubygems | rubygems | 2.0.5 | application |
| rubygems | rubygems | 2.0.6 | application |
| rubygems | rubygems | 2.0.7 | application |
| rubygems | rubygems | 2.0.8 | application |
| rubygems | rubygems | 2.0.9 | application |
| rubygems | rubygems | 2.0.10 | application |
| rubygems | rubygems | 2.0.11 | application |
| rubygems | rubygems | 2.0.12 | application |
| rubygems | rubygems | 2.0.13 | application |
| rubygems | rubygems | 2.0.14 | application |
| rubygems | rubygems | 2.0.15 | application |
| rubygems | rubygems | 2.0.16 | application |
| rubygems | rubygems | 2.2.0 | application |
| rubygems | rubygems | 2.2.1 | application |
| rubygems | rubygems | 2.2.2 | application |
| rubygems | rubygems | 2.2.3 | application |
| rubygems | rubygems | 2.2.4 | application |
| rubygems | rubygems | 2.4.0 | application |
| rubygems | rubygems | 2.4.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:26 UTC.
How severe is CVE-2015-4020?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-4020 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.46% probability of exploitation activity in the next 30 days, percentile 89.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- http://blog.rubygems.org/2015/06/08/2.2.5-released.html x_refsource_CONFIRM
- https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900/ x_refsource_MISC
- 75431 vdb-entry, x_refsource_BID
- https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-009/?fid=6478 x_refsource_MISC
- http://blog.rubygems.org/2015/06/08/2.4.8-released.html x_refsource_CONFIRM
- https://github.com/rubygems/rubygems/commit/5c7bfb5 x_refsource_CONFIRM
- https://puppet.com/security/cve/CVE-2015-3900 x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 18, 2015
- Published
- August 25, 2015, 17:00 UTC
- CVE record updated
- August 6, 2024, 06:04 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:26 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Solaris?
- Aug 8, 2015CVE-2015-4495 Mozilla Firefox: origin not validated exploited
- Jul 29, 2015CVE-2015-5477 Juniper Junos: n/a exploited
- Nov 4, 2008CVE-2008-2992 Adobe Acrobat: out-of-bounds write (memory corruption) exploited
- Dec 26, 2022CVE-2021-43395 Illumos: improper locking
- Dec 26, 2022CVE-2019-9579 Illumos: insecure default permissions
- Mar 12, 2020CVE-2020-10108 Twisted: HTTP request smuggling
- Jan 16, 2020CVE-2020-7044 Wireshark: out-of-bounds read
- Dec 5, 2019CVE-2019-19553 Wireshark: missing initialization
Questions about CVE-2015-4020
Is CVE-2015-4020 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 3.46% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Oracle Solaris are affected by CVE-2015-4020?
rubygems-update before 2.0.17, rubygems-update from 2.1.0.rc.1 before 2.2.5 and rubygems-update from 2.3.0 before 2.4.8, per the GitHub advisory GHSA-qv62-xfj6-32xm. The tables above give every range the sources list.
Which version fixes CVE-2015-4020?
2.0.17, 2.2.5 and 2.4.8, per the GitHub advisory GHSA-qv62-xfj6-32xm. Check the vendor's advisory before you rely on it.
How severe is CVE-2015-4020?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-4020?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.