Advisory

PYSEC-2020-207

Also known as: CVE-2020-10684, GHSA-p62g-jhg6-v3rq

Summary

The record has no summary.

Details

A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.

Severity

Not rated by the source.

Dates

Published
2020-03-24 14:15 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.7.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