GLSA-201607-14 : Ansible: Privilege escalation

high Nessus Plugin ID 92484

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-201607-14 (Ansible: Privilege escalation)

The create_script function in the lxc_container module of Ansible uses predictable temporary file names, making it vulnerable to a symlink attack.
Impact :

Local attackers could write arbitrary files or gain escalated privileges within the container.
Workaround :

There is no known workaround at this time.

Solution

All Ansible 1.9.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-admin/ansible-1.9.6' All Ansible 2.0.2.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-admin/ansible-2.0.2.0-r1'

See Also

https://security.gentoo.org/glsa/201607-14

Plugin Details

Severity: High

ID: 92484

File Name: gentoo_GLSA-201607-14.nasl

Version: 2.3

Type: local

Published: 7/21/2016

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

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

CVSS v3

Risk Factor: High

Base Score: 7.8

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

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

Patch Publication Date: 7/20/2016

Reference Information

CVE: CVE-2016-3096

GLSA: 201607-14