PYSEC-2026-768
Ansible leaks password to logs
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2022-3697
- Alias
- GHSA-cpx3-93w7-457x
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · ansible | introduced 2.5.0, fixed 7.0.0 |
Références
- 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
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |