ESB-2019.1072 - [Debian] ruby2.1: Multiple vulnerabilities 2019-04-01

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2019.1072
                          ruby2.1 security update
                               1 April 2019

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

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

Product:           ruby2.1
Publisher:         Debian
Operating System:  Debian GNU/Linux 8
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Delete Arbitrary Files          -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-8325 CVE-2019-8324 CVE-2019-8323
                   CVE-2019-8322 CVE-2019-8320 

Reference:         ESB-2019.0821
                   ESB-2019.0678

Original Bulletin: 
   https://lists.debian.org/debian-lts-announce/2019/03/msg00037.html

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

Package        : ruby2.1
Version        : 2.1.5-2+deb8u7
CVE ID         : CVE-2019-8320 CVE-2019-8322 CVE-2019-8323 CVE-2019-8324
                 CVE-2019-8325


Several vulnerabilities have been discovered in rubygems embedded in
ruby2.1, the interpreted scripting language.

CVE-2019-8320

    A Directory Traversal issue was discovered in RubyGems. Before
    making new directories or touching files (which now include
    path-checking code for symlinks), it would delete the target
    destination.

CVE-2019-8322

    The gem owner command outputs the contents of the API response
    directly to stdout. Therefore, if the response is crafted, escape
    sequence injection may occur.

CVE-2019-8323

    Gem::GemcutterUtilities#with_response may output the API response to
    stdout as it is. Therefore, if the API side modifies the response,
    escape sequence injection may occur.

CVE-2019-8324

    A crafted gem with a multi-line name is not handled correctly.
    Therefore, an attacker could inject arbitrary code to the stub line
    of gemspec, which is eval-ed by code in ensure_loadable_spec during
    the preinstall check.

CVE-2019-8325

    An issue was discovered in RubyGems 2.6 and later through 3.0.2.
    Since Gem::CommandManager#run calls alert_error without escaping,
    escape sequence injection is possible. (There are many ways to cause
    an error.)

For Debian 8 "Jessie", these problems have been fixed in version
2.1.5-2+deb8u7.

We recommend that you upgrade your ruby2.1 packages.

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS

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

        https://www.auscert.org.au/bulletins/

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

iQIVAwUBXKFeRmaOgq3Tt24GAQjIHRAAmm2L9KoxiF6czNCaTZhmRC+PCLW7mliU
vv3PSBcD0u/AxFjMtxGZfYfdyVdKUjZjH23GGV+0GcTBfclBjVbYjiIU8DgqVrYb
83iPBeGDcAzSFDFusaE9ohOs8XXknBmOm+zrykqFqhXsb6hcDKpbovvG/BMXLU06
0+Xi98qXhsMIChboIfQ7hG/gamI81rV9DD9AulMLh7eOvH7u40r+w6Qf81fJpeqA
u0dXHIaWTMRhwvY+vuF6byj9Lr47HxemEb/0pvL8aAdTsr2S+pPkWscNO1vPeCGv
iVr1o2oBqXjcGe00iiYbNNzdyUAy2PQt1EZdiXjOSwuCQA9VsQsXirsFwYKSxokB
X9K9R2SNUHjip+8mGdKBrdKnd1bKLX0JqxQehzltbwSSJ4g4q1Uoi7/7rbj67ICi
GkXrEaZ+dMycrwBapEi3WJtAlzfeamjDGpxUAyY9gu3OCLOBiYniDkQX0xHeGGVM
xOGsARjNMsU1uUFkdgtWkQXDrtijqrn8qB//J9Yh6yjnvazNm7Vj3LSGlpYi/3r7
qfJ3NgDP4py2WBCOYylxGuIkoBzoo+vBJ/SS9JvAe0wiICnJ/frpeZJsJvK58loW
3ilC1/pH5W0neUjSmAKun64VsP5nGe7AsmGaNMfjqDylclx9mfttLzDM3GNhN0br
W98mcl1MFSI=
=9YvX
-----END PGP SIGNATURE-----

« Back to bulletins