Advisory

PYSEC-2020-6

Also known as: CVE-2020-1734, GHSA-h39q-95q5-9jfp

Summary

The record has no summary.

Details

A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses subprocess.Popen() with shell=True, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.

Severity

Not rated by the source.

Dates

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

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.7.17 (ecosystem)

Fixed versions

2.7.17

Fix

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

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