ESB-2017.1828 - [Ubuntu] libruby2.3: Multiple vulnerabilities 2017-07-26

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2017.1828
                           Ruby vulnerabilities
                               26 July 2017

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           libruby2.3
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Access Privileged Data          -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Reduced Security                -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-7798 CVE-2016-2339 CVE-2016-2337
                   CVE-2015-9096 CVE-2015-7551 CVE-2015-1855
                   CVE-2009-5147  

Reference:         ASB-2015.0041
                   ESB-2017.1016
                   ESB-2015.2532
                   ESB-2015.1210

Original Bulletin: 
   http://www.ubuntu.com/usn/usn-3365-1

- --------------------------BEGIN INCLUDED TEXT--------------------

==========================================================================
Ubuntu Security Notice USN-3365-1
July 25, 2017

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

A security issue affects these releases of Ubuntu and its derivatives:

- - Ubuntu 17.04
- - Ubuntu 16.04 LTS
- - Ubuntu 14.04 LTS

Summary:

Several security issues were fixed in Ruby.

Software Description:
- - ruby2.3: Object-oriented scripting language
- - ruby1.9.1: Object-oriented scripting language
- - ruby2.0: Object-oriented scripting language

Details:

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)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 17.04:
  libruby2.3                      2.3.3-1ubuntu0.1
  ruby2.3                         2.3.3-1ubuntu0.1

Ubuntu 16.04 LTS:
  libruby2.3                      2.3.1-2~16.04.2
  ruby2.3                         2.3.1-2~16.04.2

Ubuntu 14.04 LTS:
  libruby1.9.1                    1.9.3.484-2ubuntu1.3
  libruby2.0                      2.0.0.484-1ubuntu2.4
  ruby1.9.1                       1.9.3.484-2ubuntu1.3
  ruby2.0                         2.0.0.484-1ubuntu2.4

In general, a standard system update will make all the necessary changes.

References:
  https://www.ubuntu.com/usn/usn-3365-1
  CVE-2009-5147, CVE-2015-1855, CVE-2015-7551, CVE-2015-9096,
  CVE-2016-2337, CVE-2016-2339, CVE-2016-7798

Package Information:
  https://launchpad.net/ubuntu/+source/ruby2.3/2.3.3-1ubuntu0.1
  https://launchpad.net/ubuntu/+source/ruby2.3/2.3.1-2~16.04.2
  https://launchpad.net/ubuntu/+source/ruby1.9.1/1.9.3.484-2ubuntu1.3
  https://launchpad.net/ubuntu/+source/ruby2.0/2.0.0.484-1ubuntu2.4

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWXfZFIx+lLeg9Ub1AQiNTw/+OLjpUofNUdhXqBiyaYeNQdyW9SEOsft2
nyxb1ko3atqtZT43KlpRR+aOBVeZX2eIGXCM8OGE3/wnwn08n16rtaGFUZKpdQuA
NNCiS/ihsmyxjfA6SJALECIX09BrnMjOusayfXglY5LgM6dE6RmfncMV4ajRv+7w
nmTU76/ZtAnQQtyL5JRHHicy3Szxn13sTxAfNWPzeIVCFDkPiYP0VN4AEF5/zRFG
T8AgcY7c1yhGy7wQdG3xkfbh7DgClU6yC64bHSjGtC5QS8BcK0X2QQY88bLuXx20
NpNiGNicSp3PWAdjuzY/QLiYKDrvNYjeFfZX9oOhwF9UFM29wWQSd+uRyry6lIk/
u0D7vndXFnROOESNfuvAv1dVU3GqdXg0ObL5uEax6HmB5pQphmm+kWTYDaEA3V1C
82Q07xjBPhksuJEJOjmy84DwkHQLFpnlrp9+HpVk10FvOBC+zM/eYtvfnzZdHODg
XBQOx8jS//eD4calb1O6tkbKMXWGRKyHa2G2gJs+STnX8hlvTgtv113VaRjYUZtK
pe8km/3aYBKr0jOOIqPZdtO32QTmCOFXD9j7y9mk0QNfFf1CJkFVoF3pRTHo0h4J
ZYa1Pdv+fiFf8diATQIwEtdD7r5tcf/0adrixF8N975z2iBpdDJsVxMDhqIs6GwS
SZNIlfoI1rM=
=VjmK
-----END PGP SIGNATURE-----

« Back to bulletins