Skip to content
OpenAdvisories
High · 7.8 CVE-2016-3096 EUVD-2016-0001GHSA-rh6x-qvg7-rrmjPYSEC-2016-1

Link Following in ansible

Published Jun 3, 2016 · Updated Aug 5, 2024 · Assigned by redhat

Description

The create_script function in the lxc_container module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) /opt/.lxc-attach-script, (2) the archived container in the archive_path directory, or the (3) lxc-attach-script.log or (4) lxc-attach-script.err files in the temporary directory.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ansible 2.0.1.0-2 —
Debian 13 ansible 2.0.1.0-2 —
Debian 12 ansible 2.0.1.0-2 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS ansible 2.0.0.2-2ubuntu1.3 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ansible 2.2.0.0-1.1 openSUSE-SU-2024:10326-1
openSUSE Tumbleweed ansible-10 10.6.0-1.1 openSUSE-SU-2024:14536-1
openSUSE Tumbleweed ansible-11 11.11.0-1.1 openSUSE-SU-2025:15605-1
openSUSE Tumbleweed ansible-12 12.2.0-1.1 openSUSE-SU-2025:15753-1
openSUSE Tumbleweed ansible-13 13.7.0-1.1 openSUSE-SU-2026:10944-1
openSUSE Tumbleweed ansible-14 14.6.0-1.1 openSUSE-SU-2026:12447-1
openSUSE Tumbleweed ansible-9 9.8.0-1.1 openSUSE-SU-2024:14244-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ansible >= 2.0.0.0, < 2.0.2.0 2.0.2.0 GHSA-rh6x-qvg7-rrmj
PyPI ansible < 1.9.6.1 1.9.6.1 GHSA-rh6x-qvg7-rrmj
PyPI ansible < 2.0.2.0 2.0.2.0 PYSEC-2016-1

Advisories 7

References