rubygems-update 2.6.4

17 security vulnerabilities found in version 2.6.4

RubyGems Improper Verification of Cryptographic Signature vulnerability

critical severity CVE-2018-1000076
critical severity CVE-2018-1000076
Patched versions: >= 2.7.6
Unaffected versions: < 2.2.0

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, and Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contain an Improper Verification of Cryptographic Signature vulnerability in package.rb. This can result in a mis-signed gem being installed, as the tarball would contain multiple gem signatures. This vulnerability has been fixed in 2.7.6.

Unsafe Object Deserialization Vulnerability in RubyGems

critical severity CVE-2017-0903
critical severity CVE-2017-0903
Patched versions: >= 2.6.14
Unaffected versions: < 2.0.0

There is a possible unsafe object deserialization vulnerability in RubyGems. It is possible for YAML deserialization of gem specifications to bypass class white lists. Specially crafted serialized objects can possibly be used to escalate to remote code execution.

RubyGems Code Injection vulnerability

critical severity CVE-2017-0899
critical severity CVE-2017-0899
Affected versions: < 2.6.13

RubyGems prior to 2.6.13 is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.

Escape sequence injection vulnerability in errors

high severity CVE-2019-8325
high severity CVE-2019-8325
Patched versions: >= 3.0.3, ~> 2.7.9
Unaffected versions: < 2.6

An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::CommandManager#run calls alert_error without escaping, escape sequence injection is possible. (There are many ways to cause an error.)

Installing a malicious gem may lead to arbitrary code execution

high severity CVE-2019-8324
high severity CVE-2019-8324
Patched versions: >= 3.0.3, ~> 2.7.9
Unaffected versions: < 2.6

An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.

Escape sequence injection vulnerability in api response handling

high severity CVE-2019-8323
high severity CVE-2019-8323
Patched versions: >= 3.0.3, ~> 2.7.9
Unaffected versions: < 2.6

An issue was discovered in RubyGems 2.6 and later through 3.0.2. Gem::GemcutterUtilities#with_response may output the API response to stdout as it is. Therefore, if the API side modifies the response, escape sequence injection may occur.

Escape sequence injection vulnerability in gem owner

high severity CVE-2019-8322
high severity CVE-2019-8322
Patched versions: ~> 2.7.9, >= 3.0.3
Unaffected versions: < 2.6

An issue was discovered in RubyGems 2.6 and later through 3.0.2. The gem owner command outputs the contents of the API response directly to stdout. Therefore, if the response is crafted, escape sequence injection may occur.

Escape sequence injection vulnerability in verbose

high severity CVE-2019-8321
high severity CVE-2019-8321
Patched versions: >= 3.0.3, ~> 2.7.9
Unaffected versions: < 2.6

An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::UserInteraction#verbose calls say without escaping, escape sequence injection is possible.

RubyGems Infinite Loop vulnerability

high severity CVE-2018-1000075
high severity CVE-2018-1000075
Patched versions: >= 2.7.6

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a infinite loop caused by negative size vulnerability in ruby gem package tar header that can result in a negative size could cause an infinite loop.. This vulnerability appears to have been fixed in 2.7.6.

RubyGems Deserialization of Untrusted Data vulnerability

high severity CVE-2018-1000074
high severity CVE-2018-1000074
Patched versions: >= 2.7.6

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Deserialization of Untrusted Data vulnerability in owner command that can result in code execution. This attack requires the victim to run the gem owner command on a gem with a specially crafted YAML file. This vulnerability is fixed in 2.7.6.

RubyGems Link Following vulnerability

high severity CVE-2018-1000073
high severity CVE-2018-1000073
Patched versions: >= 2.7.6

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Directory Traversal vulnerability in install_location function of package.rb that can result in path traversal when writing to a symlinked basedir outside of the root. This vulnerability appears to have been fixed in 2.7.6.

RubyGems has Origin Validation Error vulnerability

high severity CVE-2017-0902
high severity CVE-2017-0902
Affected versions: < 2.6.13

RubyGems version 2.6.12 and earlier is vulnerable to a DNS hijacking vulnerability that allows a MITM attacker to force the RubyGems client to download and install gems from a server that the attacker controls.

RubyGems may allow a maliciously crafted gem to overwrite files

high severity CVE-2017-0901
high severity CVE-2017-0901
Affected versions: < 2.6.13

RubyGems versions 2.6.12 and earlier fail to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.

RubyGems Improper Input Validation vulnerability

high severity CVE-2017-0900
high severity CVE-2017-0900
Affected versions: < 2.6.13

RubyGems versions 2.6.12 and earlier are vulnerable to maliciously crafted gem specifications that cause a denial of service attack against RubyGems clients who have issued a query command.

RubyGems Path Traversal vulnerability

medium severity CVE-2018-1000079
medium severity CVE-2018-1000079
Patched versions: >= 2.7.6

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Directory Traversal vulnerability in gem installation that can result in the gem writing to arbitrary filesystem locations during installation. This attack appears to be exploitable via installation of a malicious gem. This vulnerability is fixed in 2.7.6.

RubyGems Cross-site Scripting vulnerability

medium severity CVE-2018-1000078
medium severity CVE-2018-1000078
Patched versions: >= 2.7.6

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Cross Site Scripting (XSS) vulnerability in gem server display of homepage attribute that can result in XSS. This attack requires the victim to browse to a malicious gem on a vulnerable gem server. This vulnerability is fixed in 2.7.6.

RubyGems Improper Input Validation vulnerability

medium severity CVE-2018-1000077
medium severity CVE-2018-1000077
Patched versions: >= 2.7.6

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Improper Input Validation vulnerability in ruby gems specification homepage attribute that can result in a malicious gem setting an invalid homepage URL. This vulnerability is fixed in 2.7.6.

No officially reported memory leakage issues detected.


This gem version does not have any officially reported memory leaked issues.

No license issues detected.


This gem version has a license in the gemspec.

This gem version is available.


This gem version has not been yanked and is still available for usage.