rubygems-update 3.0.1

6 security vulnerabilities found in version 3.0.1

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.

Delete directory using symlink when decompressing tar

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

A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new directories or touching files (which now include path-checking code for symlinks), it would delete the target destination. If that destination was hidden behind a symlink, a malicious gem could delete arbitrary files on the user’s machine, presuming the attacker could guess at paths. Given how frequently gem is run as sudo, and how predictable paths are on modern systems (/tmp, /usr, etc.), this could likely lead to data loss or an unusable system.

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.