Skip to main content
← All vulnerabilities
CVE-2021-3583PYSEC-2021-358GHSA-2PFH-Q76X-GWVM

A flaw was found in Ansible, where a user's controller is vulnerable to template injection.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.9.23, 2.9.23rc1, 2.10.11rc1, 2.11.2rc1
None on Exploit-DB, Metasploit or GitHub

Summary

A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a ansible

    Version range not reported

  • ansiblePyPI

    fixed in 2.9.23

  • ansiblePyPI

    fixed in 2.9.23rc1

  • ansiblePyPI

    From 2.10.0a1 · fixed in 2.10.11rc1

  • ansiblePyPI

    From 2.11.0a1 · fixed in 2.11.2rc1

References 2

bugzilla.redhat.com

lists.debian.org