CVE-2016-3096

high
Published 2016-06-03 · Modified 2023-11-08
CVSS v3
7.8
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.2
VIR risk
7.8

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.

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — https://github.com/ansible/ansible-modules-extras/pull/1941

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-3096

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed2.0.1.0-2
debian debianforkyfixed2.0.1.0-2
debian debiantrixiefixed2.0.1.0-2
debian debianbullseyefixed2.0.1.0-2
debian debiansidfixed2.0.1.0-2
fedora fedora22affected
fedora fedora23affected
fedora fedora24affected

Package impact

EcosystemPackageVulnerableFixed
python PyPIansible>=2.0.0.0,<2.0.2.02.0.2.0
python PyPIansible<1.9.6.11.9.6.1
python PyPIansible<2.0.2.02.0.2.0

Application impact

VendorProductVersionsFixed
redhatansible{"endIncluding":"1.9.6"}
redhatansible2.0
redhatansible2.0.1

References

CWEs

CWE-59

Verify integrity in audit chain (admin only). AS-IS.