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

===========================================================================
                         AUSCERT Security Bulletin

                               ASB-2017.0137
                   Multiple vulnerabilities in RubyGems
                              31 August 2017

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

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

Product:              RubyGems
Operating System:     Windows
                      UNIX variants (UNIX, Linux, OSX)
Impact/Access:        Execute Arbitrary Code/Commands -- Remote/Unauthenticated      
                      Overwrite Arbitrary Files       -- Remote with User Interaction
                      Denial of Service               -- Existing Account            
                      Provide Misleading Information  -- Remote with User Interaction
Resolution:           Patch/Upgrade
CVE Names:            CVE-2017-0902 CVE-2017-0901 CVE-2017-0900
                      CVE-2017-0899  
Member content until: Saturday, September 30 2017

OVERVIEW

        Multiple vulnerabilities have been identified in Ruby prior to 
        versions 2.28, 2.3.5, 2.4.2 and Trunk revision 59673 [1]


IMPACT

        The vendor has provided the following details regarding the issues:
        
        "a DNS request hijacking vulnerability. (CVE-2017-0902)
        
        an ANSI escape sequence vulnerability. (CVE-2017-0899)
        
        a DoS vulnerability in the query command. (CVE-2017-0900)
        
        a vulnerability in the gem installer that allowed a malicious gem to
        overwrite arbitrary files. (CVE-2017-0901)
        
        It is strongly recommended for Ruby users to take one of the 
        following workarounds as soon as possible.
        
        Affected Versions
        
        Ruby 2.2 series: 2.2.7 and earlier
        
        Ruby 2.3 series: 2.3.4 and earlier
        
        Ruby 2.4 series: 2.4.1 and earlier
        
        prior to trunk revision 59672" [1]


MITIGATION

        "At this moment, there are no Ruby releases including the fix for 
        RubyGems. But you can upgrade RubyGems to the latest version. 
        RubyGems 2.6.13 or later includes the fix for the vulnerabilities."
        [1]


REFERENCES

        [1] Multiple vulnerabilities in RubyGems
            https://www.ruby-lang.org/en/news/2017/08/29/multiple-vulnerabilities-in-rubygems/

AusCERT has made every effort to ensure that the information contained
in this document is accurate.  However, the decision to use the information
described is the responsibility of each user or organisation. 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.

===========================================================================
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

iQIVAwUBWaegLox+lLeg9Ub1AQguSg/+Oy0D42Lwt5ucPjndmicgaudUcYBHUKF+
RRtaXhrhzfREocBPRC+dsDvJauE8TaZxTIEaN4a3AXd0ViJ6nU2dx1ZW1kg2uJ0Q
NYXD4mYbImsk6NcOLA2jvBtjoj8usAOHh7kOJfRbOY7YVvsC/69b8QehXkFdfdn9
MeltN+2qK4aGADNVKO6ZGSLQHD0dNVsS7U3h96btRwAM7Rss7CDsCab6ouwZt/lY
Udfvl9i1rpzDKEmMxzCpUdLAtP9Vi3bQjW7IJ+GJETpbh2h/MYD6kgb/Vik5MOAu
ESs2zqnqpCYJsfWqrR5BLEwsehkKdLJuLnZ8o/XFrLJ0yR6Qu8t97EApEOVl/ddm
P3v0MLEauipgoLiDBRx8+vODZcOngFGeMZ/zCrz1fG5fMQs80tXebd5eIZ7j0FgZ
Ntgf5RdvaKqXuLKm0HaqTE3T90kJcq2554VNy695uJJGJsFSAO4f6tSCJUne1v4k
HIBvDmuTNcaetYrHQ6/wxPjxIMF8oWiYttVeSZs65B6VnwTSp8mBpkfKgW2TIqX3
jvo+KqT7GtCPkvloxeVPvfu4hKDBHgvkKjxxYcZN+WTZKUov/rt1DgWasuX5w8ZT
kGe0JJuZ8+v4iTegOeFMFpoPcUJoy5WZltOmDjXP/AVIQeI/0dtOTy2SB68Cmgtj
HcMHAf5fp/w=
=HDVO
-----END PGP SIGNATURE-----