Advisory

PYSEC-2020-9

Also known as: CVE-2020-1737, GHSA-893h-35v4-mxqx

Summary

The record has no summary.

Details

A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.

Severity

Not rated by the source.

Dates

Published
2020-03-09 16:15 UTC
Modified
2023-11-08 04:02 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.7.17, introduced 2.8.0, fixed 2.8.9, introduced 2.9.0, fixed 2.9.6 (ecosystem)

Fixed versions

2.7.17, 2.8.9, 2.9.6

Fix

  • Fixed version 2.7.17
    pip install --upgrade ansible==2.7.17
  • Fixed version 2.8.9
    pip install --upgrade ansible==2.8.9
  • Fixed version 2.9.6
    pip install --upgrade ansible==2.9.6

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: PyPA Advisory Database · CC BY 4.0

Sources & licences