Skip to main content
← All vulnerabilities
CVE-2020-10684PYSEC-2020-207GHSA-P62G-JHG6-V3RQ

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_fa

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.17, 2.8.9, 2.9.6, 2.8.11, 2.9.7
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Red Hat Ansible

    all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.9, all Ansible 2.9.x versions prior to 2.9.6

  • ansiblePyPI

    From 2.7.0 · fixed in 2.7.17; From 2.8.0 · fixed in 2.8.9; From 2.9.0 · fixed in 2.9.6

  • ansiblePyPI

    From 2.7.0a1 · fixed in 2.7.17

  • ansiblePyPI

    From 2.8.0a1 · fixed in 2.8.11

  • ansiblePyPI

    From 2.9.0a1 · fixed in 2.9.7

References 6

lists.fedoraproject.org

security.gentoo.org

debian.org

bugzilla.redhat.com