HIGH7.5
PYSEC-2026-768
Ansible leaks password to logs
Quick fix
PYSEC-2026-768 — ansible: upgrade to the fixed version with the command below.
pip install --upgrade 'ansible>=7.0.0'Details
A flaw was found in Ansible in the amazon.aws collection when using the `tower_callback` parameter from the `amazon.aws.ec2_instance` module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-3697[ADVISORY]
- https://github.com/ansible-collections/amazon.aws/pull/1199[WEB]
- https://github.com/ansible/ansible/pull/35749[WEB]
- https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst[WEB]
- https://github.com/ansible/ansible[PACKAGE]
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html[WEB]
- https://pypi.org/project/ansible[PACKAGE]
- https://github.com/advisories/GHSA-cpx3-93w7-457x[ADVISORY]