RHEL 7 : ansible (RHSA-2018:2166)

High Nessus Plugin ID 111030

Synopsis

The remote Red Hat host is missing a security update.

Description

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

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.6.1)

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

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

* file module - The touch subcommand had its diff output broken during
the 2.6.x development cycle. The patch to fix that broke check mode.
This is now fixed (https://github.com/ansible/ansible/issues/42111)

* inventory manager - This fixes required options being populated
before the inventory config file is read, so the required options may
be set in the config file.

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

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

* win_group_membership - uses the internal Ansible SID conversion
logic and uses that when comparing group membership instead of the
name https:// github.com/ansible/ansible/issues/40649

Solution

Update the affected ansible package.

See Also

https://access.redhat.com/errata/RHSA-2018:2166

https://access.redhat.com/security/cve/cve-2018-10874

https://access.redhat.com/security/cve/cve-2018-10875

Plugin Details

Severity: High

ID: 111030

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

Version: 1.4

Type: local

Agent: unix

Published: 2018/07/12

Modified: 2018/11/10

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3.0

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

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

Patch Publication Date: 2018/07/10

Reference Information

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

RHSA: 2018:2166