Advisory

GHSA-3c67-gc48-983w

Also known as: CVE-2020-10691, PYSEC-2020-2

Summary

Path Traversal in Ansible

Details

An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-20 16:44 UTC
Modified
2024-09-04 21:02 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.9.0a1, fixed 2.9.7 (ecosystem)

Fixed versions

2.9.7

Fix

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

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