ADVISORIES

GitHub Advisory Database

GHSA-2pfh-q76x-gwvm

Improper Input Validation and Command Injection in Ansible

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIansible
All versions before 2.9.23rc1 (fixed in 2.9.23rc1)
PyPIansible
From 2.10.0a1 before 2.10.11rc1 (fixed in 2.10.11rc1)
PyPIansible
From 2.11.0a1 before 2.11.2rc1 (fixed in 2.11.2rc1)

References