ESB-2017.2557 - [UNIX/Linux][FreeBSD] rubygems: Execute arbitrary code/commands - Remote/unauthenticated 2017-10-12

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2017.2557
                 rubygems -- deserialization vulnerability
                              12 October 2017

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

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

Product:           rubygems
Publisher:         FreeBSD
Operating System:  FreeBSD
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-0903  

Original Bulletin: 
   http://www.vuxml.org/freebsd/2c8bd00d-ada2-11e7-82af-8dbff7d75206.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than FreeBSD. It is recommended that administrators
         running rubygems check for an updated version of the software for 
         their operating system.

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

rubygems -- deserialization vulnerability

Affected packages
ruby22-gems	<	2.6.14
ruby23-gems	<	2.6.14
ruby24-gems	<	2.6.14
Details

VuXML ID	2c8bd00d-ada2-11e7-82af-8dbff7d75206
Discovery	2017-10-09
Entry	2017-10-10
oss-security mailing list:

There is a possible unsafe object desrialization vulnerability in RubyGems. 
It is possible for YAML deserialization of gem specifications to bypass class 
white lists. Specially crafted serialized objects can possibly be used to 
escalate to remote code execution.

References

CVE Name	CVE-2017-0903
URL	http://blog.rubygems.org/2017/10/09/2.6.14-released.html
URL	http://www.openwall.com/lists/oss-security/2017/10/10/2

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

iQIVAwUBWd6tRIx+lLeg9Ub1AQikBg/8CRaTfkKYpQSjkFqE2T38fhWDFkqCYMwS
HJDPi2LkIbBc6jg0OoiIKEBzzcFolA79Qv+Fn2k+7KpD8aVXdM0t7Yncedye2QcY
JqCqv3dspqt4s4TV2Cvvs/JnxbPKYTsMvcQxutENQca8wcuYYriZaXXYjI3Ttvfz
rnrybNjbxxQpeKNpm6CrdxRmJDoPfHf6VxYF1f2yPenXKO+UmFtGu6yncvTsmA4T
J7MMY5eVa28sL30ZivKDPHsh2AOStJynF3/W0e7LBY4m6T/lUiHOHL8oa0pUSRKb
5tCOjwSx2h2FxHnMD16Rfxwp2YWBh/w3YtuQQAVed47uT/hnKJG0JPJBKHuxLUIq
WPdNvIWU6El9yfYT1hycQ6EYSBv9Lv/iT+TrmNUIiDOIsQDl2i5MPNMK0MPN/yLe
j1eAWRVu5J9u5frNmsIFShv/ZRKVnMfcL0Zvz3eIM8jhIlTvJ7PCzW+nwPkocou1
Bdr2dt1h2cyGX6izAXsbAipq0xWjCH6L7eJKe0k4r2/MGq0nuNk3Z7oiwZDXnqE6
mrVGuWqMBaUj3+rboJJQ+0qH3jLpDcCTFDBUEGglsqkwgMPe1mngV7HGzcfHjMZo
NKi8kXWPoW90+3sN5kTb0aRO4dk044EG2s8rCTQvvyUTUeBA2uw0Q/3uo8rxcPgA
/VtsWZYweHk=
=MEWT
-----END PGP SIGNATURE-----

« Back to bulletins