Advisory

GHSA-gfr2-qpxh-qj9m

Also known as: CVE-2020-1735, PYSEC-2020-7

Summary

Path Traversal in Ansible

Details

A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-07 20:35 UTC
Modified
2024-09-09 21:31 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.7.0a1, fixed 2.7.18 (ecosystem)

Fixed versions

2.7.18

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.8.0a1, fixed 2.8.12 (ecosystem)

Fixed versions

2.8.12

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.9.0a1, fixed 2.9.8 (ecosystem)

Fixed versions

2.9.8

Fix

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

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