Skip to content
OpenAdvisories
High ELSA-2019-1235 4 CVEs

Important: ruby security update (Oracle Linux 7)

Published May 16, 2019 · Updated May 16, 2019

Summary

[2.0.0.648-35]
- Introduce method as precondition to fix
CVE-2019-8321.
* rubygems-2.3.0-refactor-checking-really_verbose.patch
- Fix escape sequence injection vulnerability in verbose.
- Fix escape sequence injection vulnerability in gem owner.
- Fix escape sequence injection vulnerability in API response handling.
- Prohibit arbitrary code execution when installing a malicious gem.
- Fix escape sequence injection vulnerability in errors.
* ruby-2.4.6-Applied-security-patches-for-RubyGems.patch
Resolves: rhbz#1699283

[2.0.0.648-35]
- Refresh expired certificates.

Fixed packages 15

ReleasePackageFixed in
Oracle Linux · 7 ruby 0:2.0.0.648-35.el7_6
Oracle Linux · 7 ruby-devel 0:2.0.0.648-35.el7_6
Oracle Linux · 7 ruby-doc 0:2.0.0.648-35.el7_6
Oracle Linux · 7 ruby-irb 0:2.0.0.648-35.el7_6
Oracle Linux · 7 ruby-libs 0:2.0.0.648-35.el7_6
Oracle Linux · 7 ruby-tcltk 0:2.0.0.648-35.el7_6
Oracle Linux · 7 rubygem-bigdecimal 0:1.2.0-35.el7_6
Oracle Linux · 7 rubygem-io-console 0:0.4.2-35.el7_6
Oracle Linux · 7 rubygem-json 0:1.7.7-35.el7_6
Oracle Linux · 7 rubygem-minitest 0:4.3.2-35.el7_6
Oracle Linux · 7 rubygem-psych 0:2.0.0-35.el7_6
Oracle Linux · 7 rubygem-rake 0:0.9.6-35.el7_6
Oracle Linux · 7 rubygem-rdoc 0:4.0.0-35.el7_6
Oracle Linux · 7 rubygems 0:2.0.14.1-35.el7_6
Oracle Linux · 7 rubygems-devel 0:2.0.14.1-35.el7_6

Vulnerabilities 4

  • High 8.8

    Code injection in RubyGems

    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 du…

  • High 7.5

    RubyGems Escape sequence injection vulnerability in gem owner

    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.

  • High 7.5

    RubyGems Escape sequence injection vulnerability in api response handling

    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.

  • High 7.5

    RubyGems Escape sequence injection in errors

    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.)