Advisory

GHSA-rh6x-qvg7-rrmj

Also known as: CVE-2016-3096, PYSEC-2016-1

Summary

Link Following in ansible

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-10-10 17:23 UTC
Modified
2024-09-04 19:10 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.0.0.0, fixed 2.0.2.0 (ecosystem)

Fixed versions

2.0.2.0

Fix

  • Fixed version 2.0.2.0
    pip install --upgrade ansible==2.0.2.0

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 1.9.6.1 (ecosystem)

Fixed versions

1.9.6.1

Fix

  • Fixed version 1.9.6.1
    pip install --upgrade ansible==1.9.6.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences