ESB-2017.1623 - [RedHat] ansible: Multiple vulnerabilities 2017-06-29

Printable version
PGP/GPG verifiable version

Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

                    Important: ansible security update
                               29 June 2017


        AusCERT Security Bulletin Summary

Product:           ansible
Publisher:         Red Hat
Operating System:  Red Hat
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Access Confidential Data        -- Existing Account            
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-7481 CVE-2017-7473 CVE-2017-7466

Reference:         ESB-2017.1523

Original Bulletin:

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

Hash: SHA1

                   Red Hat Security Advisory

Synopsis:          Important: ansible security update
Advisory ID:       RHSA-2017:1599-01
Product:           Red Hat Enterprise Linux OpenStack Platform
Advisory URL:
Issue date:        2017-06-28
CVE Names:         CVE-2017-7466 CVE-2017-7473 CVE-2017-7481 

1. Summary:

An update for ansible is now available for Red Hat OpenStack Platform 10.0

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat OpenStack Platform 10.0 - noarch

3. Description:

Ansible is a simple model-driven configuration management, multi-node
deployment, and remote-task execution system. Ansible works over SSH and
does not require any software or daemons to be installed on remote nodes.
Extension modules can be written in any language and are transferred to
managed machines automatically.

Security Fix(es):

* An input validation vulnerability was found in Ansible's handling of data
sent from client systems. An attacker with control over a client system
being managed by Ansible, and the ability to send facts back to the Ansible
server, could use this flaw to execute arbitrary code on the Ansible server
using the Ansible server privileges. (CVE-2017-7466)

* Ansible versions 2.2.3 and earlier are vulnerable to an information
disclosure flaw due to the interaction of call back plugins and the no_log
directive (information may not be sanitized properly). (CVE-2017-7473)

* An input validation flaw was found in Ansible, where it 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-2017-7481)

The CVE-2017-7466 and CVE-2017-7481 issues were discovered by Evgeni Golov
(Red Hat) and the CVE-2017-7473 issue was discovered by David Moreau Simard
(Red Hat).

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

5. Bugs fixed (

1439212 - CVE-2017-7466 ansible: Arbitrary code execution on control node (incomplete fix for CVE-2016-9587)
1440912 - CVE-2017-7473 ansible: Potential information disclosure via no_log directive
1450018 - CVE-2017-7481 ansible: Security issue with lookup return not tainting the jinja2 environment

6. Package List:

Red Hat OpenStack Platform 10.0:



These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from

7. References:

8. Contact:

The Red Hat security contact is <>. More contact
details at

Copyright 2017 Red Hat, Inc.
Version: GnuPG v1


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

Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email:
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.


« Back to bulletins