RHEL 7 : ansible (RHSA-2018:2150)

High Nessus Plugin ID 111026

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

An update for ansible is now available for Ansible Engine 2.5.

Red Hat Product Security has rated this update as having a security impact of Moderate. 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.

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.

The following packages have been upgraded to a newer upstream version:
ansible (2.5.6)

Security fix(es) :

* ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution (CVE-2018-10874)

* ansible: ansible.cfg is being read from current working directory allowing possible code execution (CVE-2018-10875)

For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.

This issue was discovered by Brian Coca (Red Hat), and Michael Scherer (OSAS).

Bug Fix(es) :

* Restore module_utils.basic.BOOLEANS variable for backwards compatibility with the module API in older ansible releases.

* lineinfile - add warning when using an empty regexp (https://github.com/ ansible/ansible/issues/29443)

* apt - fix apt-mark on debian6 (https://github.com/ansible/ansible/pull/ 41530)

* copy module - fixed recursive copy with relative paths (https://github.com/ ansible/ansible/pull/40166)

* correct debug display for all cases https://github.com/ansible/ansible/pull /41331

* eos_l2_interface - fix eapi (https://github.com/ansible/ansible/pull/42270)

* group_by - support implicit localhost (https://github.com/ansible/ansible/ pull/41860)

* influxdb_query - fixed the use of the common return 'results' caused an unexpected fault. The return is renamed to 'query_results'

* junos_config - fix confirm commit timeout issue (https://github.com/ansible /ansible/pull/41527)

* lineinfile - fix insertbefore when used with BOF to not insert duplicate lines (https://github.com/ansible/ansible/issues/38219)

* nsupdate - allow hmac-sha384 https://github.com/ansible/ansible/pull/42209

* nxos_linkagg - fix issue (https://github.com/ansible/ansible/pull/41550).

* nxos_vxlan_vtep_vni - fix issue (https://github.com/ansible/ansible/pull/ 42240)

* uses correct conn info for reset_connection https://github.com/ansible/ ansible/issues/27520

* correct service facts systemd detection of state https://github.com/ansible /ansible/issues/40809

* correctly check hostvars for vars term https://github.com/ansible/ansible/ pull/41819

* vyos_vlan - fix aggregate configuration issues (https://github.com/ansible/ ansible/pull/41638)

* win_domain - fixes typo in one of the AD cmdlets https://github.com/ansible /ansible/issues/41536

* win_iis_webapppool - redirect some module output to null so Ansible can read the output JSON https://github.com/ansible/ansible/issues/40874

* win_updates - Fixed issue where running win_updates on async fails without any error

* winrm - ensure pexpect is set to not echo the input on a failure and have a manual sanity check afterwards https://github.com/ansible/ansible/issues/ 41865

Solution

Update the affected ansible and / or ansible-doc packages.

See Also

http://rhn.redhat.com/errata/RHSA-2018-2150.html

https://www.redhat.com/security/data/cve/CVE-2018-10874.html

https://www.redhat.com/security/data/cve/CVE-2018-10875.html

Plugin Details

Severity: High

ID: 111026

File Name: redhat-RHSA-2018-2150.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2018/07/12

Modified: 2018/07/12

Dependencies: 12634

Risk Information

Risk Factor: High

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:ansible, p-cpe:/a:redhat:enterprise_linux:ansible-doc, cpe:/o:redhat:enterprise_linux:7

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 2018/07/10

Reference Information

CVE: CVE-2018-10874, CVE-2018-10875

RHSA: 2018:2150