Operating System:

[Debian]

Published:

28 January 2021

Protect yourself against future threats.

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

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

                               ESB-2021.0308
                          ansible security update
                              28 January 2021

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

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

Product:           ansible
Publisher:         Debian
Operating System:  Debian GNU/Linux
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Access Confidential Data        -- Existing Account            
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-14904 CVE-2019-14846 CVE-2019-10156
                   CVE-2017-7481  

Reference:         ESB-2020.1595
                   ESB-2020.0257
                   ESB-2019.4200
                   ESB-2019.3948

Original Bulletin: 
   https://www.debian.org/lts/security/2021/dla-2535

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

- -------------------------------------------------------------------------
Debian LTS Advisory DLA-2535-1                debian-lts@lists.debian.org
https://www.debian.org/lts/security/                      Markus Koschany
January 27, 2021                              https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package        : ansible
Version        : 2.2.1.0-2+deb9u2
CVE ID         : CVE-2017-7481 CVE-2019-10156 CVE-2019-14846
                 CVE-2019-14904
Debian Bug     : 862666 930065 942188

Several security vulnerabilities were discovered in ansible, a configuration
management, deployment, and task execution system.

CVE-2017-7481

    Ansible fails to properly mark lookup-plugin results as unsafe. If an
    attacker could control the results of lookup() calls, they could inject
    Unicode strings to be parsed by the jinja2 templating system, resulting in
    code execution. By default, the jinja2 templating language is now marked as
    'unsafe' and is not evaluated.

CVE-2019-10156

    A flaw was discovered in the way Ansible templating was implemented,
    causing the possibility of information disclosure through unexpected
    variable substitution. By taking advantage of unintended variable
    substitution the content of any variable may be disclosed.

CVE-2019-14846

    Ansible was logging at the DEBUG level which lead to a disclosure of
    credentials if a plugin used a library that logged credentials at the DEBUG
    level. This flaw does not affect Ansible modules, as those are executed in
    a separate process.

CVE-2019-14904

    A flaw was found in the solaris_zone module from the Ansible Community
    modules. When setting the name for the zone on the Solaris host, the zone
    name is checked by listing the process with the 'ps' bare command on the
    remote machine. An attacker could take advantage of this flaw by crafting
    the name of the zone and executing arbitrary commands in the remote host.

For Debian 9 stretch, these problems have been fixed in version
2.2.1.0-2+deb9u2.

We recommend that you upgrade your ansible packages.

For the detailed security status of ansible please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/ansible

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

iQIVAwUBYBHmNONLKJtyKPYoAQhHAg/7BmlQCuCcfG9vlAG86aRDu+rXwRYonedC
WnZQdOvLTHuI+mAcW+KSov5sy5YDC3QiLQT9SYtPwbKmVqhemTv72hWvpm50e3MM
DKwKbJJarZEmyM0xvPX4lGReWCyf2BJK4qFJgtBm8m7+lPWKRbyFhLi+g1SWyAcy
kcpc6+VqkDvDYhYnhvXxAbBktxU8QQgE8uGhK6QG55yRa8gb2LZ+XvAnqJ9UpLWH
Yk1AHRYn8Yq0OdoR9wcnbT2GgX9dSpFkc+rutrogJbZ1NUT/K7HhjLjG9q+oLV10
dxM1LXE3vMZ2PB3T5JMKJqzohTq+h3jIC63S+qg+qT3q39VppnX/l3tk7bWprZgD
xcaPtOnQo9V6LLpYswqIM0zXaZoEBCeiRvNdfekk1sbWkfslZ4ZKL+XXbB4lKWWj
xW3DgjuhcI6xg45xgGyuZkB9zm35R9bA1ek1lGN54VPCjGToq5wg2cxYPdpIRnp1
c85UU7+Y2oYhvuqWaasvzdHlbuZ9E3zfSocdqRpNraiHRSoStcXxplutq/hOlYgk
OoqEPjLFxWhTs5XmRuyq3YBNlIb+IFLwQ9WffL3Cz/s6Q1aRyCNO/NmnM10me2Um
JY0EVUiqKxW/+oPoPkXIIoEovv3Q4SOH3ZC6qUqda5EdKGw9MaNmKwn2BqLUs+G6
KcbvoyTrToA=
=CfSG
-----END PGP SIGNATURE-----