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

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

                               ESB-2017.2347
      CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf
                             15 September 2017

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

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

Product:           Ruby
Publisher:         Ruby
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Denial of Service        -- Existing Account
                   Access Confidential Data -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-0898  

Original Bulletin: 
   https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/

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

CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf

Posted by usa on 14 Sep 2017

There is a buffer underrun vulnerability in the sprintf method of Kernel 
module. This vulnerability has been assigned the CVE identifier CVE-2017-0898.

Details

If a malicious format string which contains a precious specifier (*) is passed
and a huge minus value is also passed to the specifier, buffer underrun may be
caused. In such situation, the result may contains heap, or the Ruby 
interpreter may crash.

All users running an affected release should upgrade immediately.

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 58453

Credit

Thanks to aerodudrizzt for reporting this issue.

History

Originally published at 2017-09-14 12:00:00 (UTC)

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

iQIVAwUBWbtJCYx+lLeg9Ub1AQjJ3g//YpJKa7wB/0yWbMovzo0afJ4z5t53Xfqx
ntfVgUDjF9Dl26J4H8d3H0uNB8t/7InBk4sd2m0Is7xFNYnYgsq2M/GH3hyIuoml
4JH4ROP3xif4Jg9XIeRLiqgCgT1gIQzzH7uVhB9cAhnFUAfQnGLiYFfbADWwvTx+
F0XiimTUUoQwNRPbIPdq8BzBAYWqgX4ZSnmrdUKQ627vh6ncjESVfaJXpO2Xa4DE
VLP1ANMUQNhdmww+pWpylpbVXUzA2CWok2Fq//WM586EmMS/2UGiEc90uE8ACkHU
vsdUOKB1LwWaPdL9aM1FOKuVaFMhpk8K7/Y5Qsl5DwksfAYUtL0Rbi4CQl4ClTs3
G++vqLfCrku6vdI9z6XZw28TGhgOGNXIBj+rkTwgM3E6sqTQBuZ8mRLMwGJtnyB8
3/p82Zndp9zDZfK7RZJYXlXHWO1SPaRUyC5d7aYEesahxSmOCTOTREpDkEoxKa3Z
vohINixMYMBNbiTvkmKjr/jrrRqtmrzxFwY1DkHJ6zVSH242p7DIoJ26COl03a4a
Hnn10vRq8Jt/jtj9bNAKADnQJFSCK/oDfEAkYOZfVB4PVz1+K/IG5MpnGO+Qz2pa
tezu9luI/nfRqKTcZLlb+jSyRRCb0WU2+YEL26/i4QcT199iy+YOnGPuj3weK+Gv
u8vQSeBilrg=
=3Vgj
-----END PGP SIGNATURE-----