Home / mailingsPDF  

[gentoo-announce] [ GLSA 201607-14 ] Ansible: Privilege escalation

Posted on 20 July 2016
Gentoo-announce

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--raSNqcrcnSvOxa3u6H81Hu43tp3K9DTou
Content-Type: multipart/mixed; boundary="rC0qpAgfslarXfo56BB7QKPuVxUaJwtQE"
From: Aaron Bauman <bman@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Message-ID: <705c834a-e30b-85e5-56af-57c4869a83b4@gentoo.org>
Subject: [ GLSA 201607-14 ] Ansible: Privilege escalation

--rC0qpAgfslarXfo56BB7QKPuVxUaJwtQE
Content-Type: multipart/alternative;
boundary="------------6767CE3A9687001FBFEA35F4"

This is a multi-part message in MIME format.
--------------6767CE3A9687001FBFEA35F4
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201607-14
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Ansible: Privilege escalation
Date: July 20, 2016
Bugs: #578814
ID: 201607-14

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========
A vulnerability in Ansible may allow local attackers to gain escalated
privileges or write arbitrary files.

Background
==========
Ansible is a radically simple IT automation platform.

Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-admin/ansible < 1.9.6 >= 1.9.6

Description
===========
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.

Resolution
==========
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"

References
==========
[ 1 ] CVE-2016-3096
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-3096

Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

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

Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======
Copyright 2016 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5


--------------6767CE3A9687001FBFEA35F4
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=utf=-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>
<meta http-equiv="content-type" content="text/html; charset=u=tf-8">
</p>
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: =normal; font-weight: normal; letter-spacing: normal; line-height: normal;= orphans: auto; text-align: start; text-indent: 0px; text-transform: none=; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap=: break-word; white-space: pre-wrap;">- - - - - - - - - - - - - - - - - -= - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201607-14
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<a class="moz-txt-link-freet=ext" href="https://security.gentoo.org/">https://security.gentoo.org/</=a>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Ansible: Privilege escalation
Date: July 20, 2016
Bugs: #578814
ID: 201607-14

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========
A vulnerability in Ansible may allow local attackers to gain escalated
privileges or write arbitrary files.

Background
==========
Ansible is a radically simple IT automation platform.

Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-admin/ansible < 1.9.6 >= 1==2E9.6

Description
===========
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.

Resolution
==========
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="

References
==========
[ 1 ] CVE-2016-3096
<a class="moz-txt-link-freetext" href="http://nvd.nist.gov/nvd.=cfm?cvename=CVE-2016-3096">http://nvd.nist.gov/nvd.cfm?cvename=CVE-20=16-3096</a>

Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

<a class="moz-txt-link-freetext" href="https://security.gentoo.org/g=lsa/201607-14">https://security.gentoo.org/glsa/201607-14</a>

Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
<a class="moz-txt-link-abbreviated" href="mailto:security@gentoo.org"=>security@gentoo.org</a> or alternatively, you may file a bug at
<a class="moz-txt-link-freetext" href="https://bugs.gentoo.org">https=://bugs.gentoo.org</a>.

License
=======
Copyright 2016 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

<a class="moz-txt-link-freetext" href="http://creativecommons.org/lic=enses/by-sa/2.5">http://creativecommons.org/licenses/by-sa/2.5</a></pre>
</body>
</html>

--------------6767CE3A9687001FBFEA35F4--

--rC0qpAgfslarXfo56BB7QKPuVxUaJwtQE--

--raSNqcrcnSvOxa3u6H81Hu43tp3K9DTou
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

 

TOP