Loading HuntDB...

GHSA-2pfh-q76x-gwvm

GitHub Security Advisory

Improper Input Validation and Command Injection in Ansible

✓ GitHub Reviewed HIGH Has CVE

Advisory 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

PyPI ansible
Affected versions: 0 (fixed in 2.9.23rc1)
PyPI ansible
Affected versions: 2.10.0a1 (fixed in 2.10.11rc1)
PyPI ansible
Affected versions: 2.11.0a1 (fixed in 2.11.2rc1)

Related CVEs

Key Information

GHSA ID
GHSA-2pfh-q76x-gwvm
Published
September 23, 2021 11:16 PM
Last Modified
September 6, 2024 5:47 PM
CVSS Score
7.5 /10
Primary Ecosystem
PyPI
Primary Package
ansible
GitHub Reviewed
✓ Yes

Dataset

Last updated: August 2, 2025 6:46 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.