GLSA-201701-77 : Ansible: Remote execution of arbitrary code

high Nessus Plugin ID 96915

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201701-77 (Ansible: Remote execution of arbitrary code)

An input validation vulnerability was found in Ansible’s handling of data sent from client systems.
Impact :

An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could execute arbitrary code on the Ansible server using the Ansible-server privileges.
Workaround :

There is no known workaround at this time.

Solution

All Ansible 2.1.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-admin/ansible-2.1.4.0_rc3' All Ansible 2.2.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-admin/ansible-2.2.1.0_rc5'

See Also

https://security.gentoo.org/glsa/201701-77

Plugin Details

Severity: High

ID: 96915

File Name: gentoo_GLSA-201701-77.nasl

Version: 3.5

Type: local

Published: 2/1/2017

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

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

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:ansible, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/31/2017

Reference Information

CVE: CVE-2016-9587

GLSA: 201701-77