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

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

                               ESB-2020.2154
                           rails security update
                               22 June 2020

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

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

Product:           rails
Publisher:         Debian
Operating System:  Debian GNU/Linux 8
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-8165 CVE-2020-8164 

Reference:         ESB-2020.1780

Original Bulletin: 
   https://lists.debian.org/debian-lts-announce/2020/06/msg00022.html

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Package        : rails
Version        : 2:4.1.8-1+deb8u7
CVE ID         : CVE-2020-8164 CVE-2020-8165


Two vulnerabilities were found in Ruby on Rails, a MVC ruby-based
framework geared for web application development, which could lead to
remote code execution and untrusted user input usage, depending on the
application.

CVE-2020-8164

    Strong parameters bypass vector in ActionPack.  In some cases user
    supplied information can be inadvertently leaked from Strong
    Parameters.  Specifically the return value of `each`, or
    `each_value`, or `each_pair` will return the underlying
    "untrusted" hash of data that was read from the parameters.
    Applications that use this return value may be inadvertently use
    untrusted user input.

CVE-2020-8165

    Potentially unintended unmarshalling of user-provided objects in
    MemCacheStore.  There is potentially unexpected behaviour in the
    MemCacheStore where, when untrusted user input is written to the
    cache store using the `raw: true` parameter, re-reading the result
    from the cache can evaluate the user input as a Marshalled object
    instead of plain text.  Unmarshalling of untrusted user input can
    have impact up to and including RCE. At a minimum, this
    vulnerability allows an attacker to inject untrusted Ruby objects
    into a web application.

    In addition to upgrading to the latest versions of Rails,
    developers should ensure that whenever they are calling
    `Rails.cache.fetch` they are using consistent values of the `raw`
    parameter for both reading and writing.

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

We recommend that you upgrade your rails 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
- -----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEQic8GuN/xDR88HkSj/HLbo2JBZ8FAl7s8VgACgkQj/HLbo2J
BZ9+mwf/eTm6thb+c3shNLZxrJpoucZ9mwAeDvZ6fGpToePHb3aNlwqUI5MuUjp8
4s0FxpD1fLcDhhTGZTJkqeThQ/4qoutzvZjbsK9bGRLBo71Zkru2DolEvf71KNZC
e0RDl/mfQHyhuDHePgnW8LV2MgG1/z+WKwabQ25mowV7lsoLIG8Z7F+wy7DkmeWN
RybrUrCZGs+3J5KmhnAWM/U8oaQBgOQcYHdKGieCJ3KlUp7+LsDZEMEmbU4Cggog
wGFovg3jsYTWDA3CNTW1ciK+Pw4x6XwWe+hyQzWZCt7j0ua1+o11GLVW1/cuHdpJ
kci12HV5BINkmtAbCtHdilLjOrLT5Q==
=f8HC
- -----END PGP SIGNATURE-----

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

iQIVAwUBXvAvn+NLKJtyKPYoAQh6UQ//TxiNkPt7I84nRo5CIvP5AnpJSpyYAM7d
9Fjjn/rX5PyBH06Y2SyvAsfTotilBgVcJdAMIA/3ytykKx9c/zG8aseEwNQKpEXX
9Cg+X4ZTl60zYlp8pOoDGyVtrcKGhIovja5g+cLm5jWjZH1vQoo698OhFcLxPd8t
6NFypBemp+WaDCgOkaeMtuPScYCBg5fS1gEvQbxF0cerj2D2I81HTbT4xjdsqhmm
Za6nZMwbIlkF1hHFRatvYgzir7ki5Kljsj6fUpz3+1yXIZ+UB/bMhRBDjximJ6dl
R0GJTAR2ijId46p8UMy79g1oLJyJPJCtp33L93Y09m8ZhUH/plPf9yqwL5b2/Y4K
eYll8I/Rk0wrFJekYaDf6Bu2vJxC/U4hq3pYFEGB1Sh+U6N+ZqdtPu3T3F5COybV
efRhAn+KUK5YIQ53OgW/STRT5SYu3v2RqUA0bKXRKPKeJWn9olwLnjVqkjP0BTeW
vb2uqXJkXRS0mh67QEfMfw2zq7D93SlMwD5UorvmIcxJc9prxhi5DqVXTo1sdz3F
rTfuqda0JCwi49vSS6jKOsSkWEtRu4GrwVu3szdPiQvelLDQjhe2gz4Yefy488ey
ZHp/+nJFOtVGnKLXsY+mqQn0zeljOqKVzQac0owFRaKCmMxqSLl0xh5k4miIYFa1
e5nIyMpRqww=
=sZnW
-----END PGP SIGNATURE-----