high7.5
CVE-2022-3697
Ansible leaks password to logs
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | ansible | >= 2.5.0, < 7.0.0 | 7.0.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Ansible | from 2.5.0 before 2.10.0 |
| Redhat | Ansible Collection | before 2.0.0 from 2.1.0 before 5.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ansible-collections/amazon.aws/pull/1199
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
- https://github.com/advisories/GHSA-cpx3-93w7-457x
- https://nvd.nist.gov/vuln/detail/CVE-2022-3697
- https://github.com/ansible/ansible/pull/35749
- https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst