5 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:L/Au:N/C:N/I:P/A:N
0.008 Low
EPSS
Percentile
82.0%
Issue Overview:
RubyGems provides the ability of a domain to direct clients to a separate host that is used to fetch gems and make API calls against. This mechanism is implemented via DNS, specificly a SRV record _rubygems._tcp under the original requested domain. RubyGems did not validate the hostname returned in the SRV record before sending requests to it. (CVE-2015-3900)
As discussed upstream (https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-009/?fid=6478), CVE-2015-4020 is due to an incomplete fix for CVE-2015-3900, which allowed redirection to an arbitrary gem server in any security domain.
Affected Packages:
ruby22
Issue Correction:
Run yum update ruby22 to update your system.
New Packages:
i686:
rubygem22-io-console-0.4.3-1.6.amzn1.i686
ruby22-devel-2.2.2-1.6.amzn1.i686
ruby22-libs-2.2.2-1.6.amzn1.i686
ruby22-debuginfo-2.2.2-1.6.amzn1.i686
rubygem22-bigdecimal-1.2.6-1.6.amzn1.i686
rubygem22-psych-2.0.8-1.6.amzn1.i686
ruby22-2.2.2-1.6.amzn1.i686
noarch:
ruby22-doc-2.2.2-1.6.amzn1.noarch
ruby22-irb-2.2.2-1.6.amzn1.noarch
rubygems22-devel-2.4.5-1.6.amzn1.noarch
rubygems22-2.4.5-1.6.amzn1.noarch
src:
ruby22-2.2.2-1.6.amzn1.src
x86_64:
ruby22-devel-2.2.2-1.6.amzn1.x86_64
ruby22-libs-2.2.2-1.6.amzn1.x86_64
rubygem22-io-console-0.4.3-1.6.amzn1.x86_64
ruby22-debuginfo-2.2.2-1.6.amzn1.x86_64
rubygem22-psych-2.0.8-1.6.amzn1.x86_64
rubygem22-bigdecimal-1.2.6-1.6.amzn1.x86_64
ruby22-2.2.2-1.6.amzn1.x86_64
Red Hat: CVE-2015-3900, CVE-2015-4020
Mitre: CVE-2015-3900, CVE-2015-4020
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 1 | i686 | rubygem22-io-console | < 0.4.3-1.6.amzn1 | rubygem22-io-console-0.4.3-1.6.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | ruby22-devel | < 2.2.2-1.6.amzn1 | ruby22-devel-2.2.2-1.6.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | ruby22-libs | < 2.2.2-1.6.amzn1 | ruby22-libs-2.2.2-1.6.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | ruby22-debuginfo | < 2.2.2-1.6.amzn1 | ruby22-debuginfo-2.2.2-1.6.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | rubygem22-bigdecimal | < 1.2.6-1.6.amzn1 | rubygem22-bigdecimal-1.2.6-1.6.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | rubygem22-psych | < 2.0.8-1.6.amzn1 | rubygem22-psych-2.0.8-1.6.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | ruby22 | < 2.2.2-1.6.amzn1 | ruby22-2.2.2-1.6.amzn1.i686.rpm |
Amazon Linux | 1 | noarch | ruby22-doc | < 2.2.2-1.6.amzn1 | ruby22-doc-2.2.2-1.6.amzn1.noarch.rpm |
Amazon Linux | 1 | noarch | ruby22-irb | < 2.2.2-1.6.amzn1 | ruby22-irb-2.2.2-1.6.amzn1.noarch.rpm |
Amazon Linux | 1 | noarch | rubygems22-devel | < 2.4.5-1.6.amzn1 | rubygems22-devel-2.4.5-1.6.amzn1.noarch.rpm |