Skip to content
OpenAdvisories
High USN-3365-1 7 CVEs

ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities

Published Jul 25, 2017 · Updated Apr 27, 2026

Summary

It was discovered that Ruby DL::dlopen incorrectly handled opening
libraries. An attacker could possibly use this issue to open libraries with
tainted names. This issue only applied to Ubuntu 14.04 LTS. (CVE-2009-5147)

Tony Arcieri, Jeffrey Walton, and Steffan Ullrich discovered that the Ruby
OpenSSL extension incorrectly handled hostname wildcard matching. This
issue only applied to Ubuntu 14.04 LTS. (CVE-2015-1855)

Christian Hofstaedtler discovered that Ruby Fiddle::Handle incorrectly
handled certain crafted strings. An attacker could use this issue to cause
a denial of service, or possibly execute arbitrary code. This issue only
applied to Ubuntu 14.04 LTS. (CVE-2015-7551)

It was discovered that Ruby Net::SMTP incorrectly handled CRLF sequences. A
remote attacker could possibly use this issue to inject SMTP commands.
(CVE-2015-9096)

Marcin Noga discovered that Ruby incorrectly handled certain arguments in
a TclTkIp class method. An attacker could possibly use this issue to
execute arbitrary code. This issue only affected Ubuntu 14.04 LTS.
(CVE-2016-2337)

It was discovered that Ruby Fiddle::Function.new incorrectly handled
certain arguments. An attacker could possibly use this issue to execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS. (CVE-2016-2339)

It was discovered that Ruby incorrectly handled the initialization vector
(IV) in GCM mode. An attacker could possibly use this issue to bypass
encryption. (CVE-2016-7798)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 14.04 LTS 14.04:LTS ruby1.9.1 1.9.3.484-2ubuntu1.3
Ubuntu · 14.04 LTS 14.04:LTS ruby2.0 2.0.0.484-1ubuntu2.4
Ubuntu · 16.04 LTS 16.04:LTS ruby2.3 2.3.1-2~16.04.2

Vulnerabilities 7

  • High 7.5

    OpenSSL gem for Ruby using inadequate encryption strength

    The openssl gem for Ruby uses the same initialization vector (IV) in GCM Mode (aes-*-gcm) when the IV is set before the key, which makes it easier for context-dependent attackers to bypass the encryption protection mechanism.

  • Unscored —
    CVE-2009-5147 Public exploit

    DL::dlopen in Ruby 1.8, 1.9.0, 1.9.2, 1.9.3, 2.0.0 before patchlevel 648, and 2.1 before 2.1.8 opens libraries with tai…

  • Unscored —
    CVE-2015-1855 Public exploit

    verify_certificate_identity in the OpenSSL extension in Ruby before 2.0.0 patchlevel 645, 2.1.x before 2.1.6, and 2.2.x…

  • Unscored —

    The Fiddle::Handle implementation in ext/fiddle/handle.c in Ruby before 2.0.0-p648, 2.1 before 2.1.8, and 2.2 before 2.…

  • Unscored —

    Net::SMTP in Ruby before 2.4.0 is vulnerable to SMTP command injection via CRLF sequences in a RCPT TO or MAIL FROM com…

  • Unscored —

    Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Attacker passing different type of object than Strin…

  • Unscored —

    An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ru…

References

  • report
    https://ubuntu.com/security/CVE-2009-5147
  • report
    https://ubuntu.com/security/CVE-2015-1855
  • report
    https://ubuntu.com/security/CVE-2015-7551
  • report
    https://ubuntu.com/security/CVE-2015-9096
  • report
    https://ubuntu.com/security/CVE-2016-2337
  • report
    https://ubuntu.com/security/CVE-2016-2339
  • report
    https://ubuntu.com/security/CVE-2016-7798