CVE-2022-3697
HIGH 7.5CVSS 3.1Ansible leaks password to logs
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.
- Published
- 28 Oct 2022
- Last modified
- 7 Jul 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-233
- Also known as
- GHSA-cpx3-93w7-457xPYSEC-2026-768
- Sources
- NVDJSONOSV GHSA-cpx3-93w7-457xJSONOSV PYSEC-2026-768JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
>= 2.5.0, < 2.10.0 | 2.10.0 |
| NVD | redhat | ansible_collectioncpe:2.3:a:redhat:ansible_collection:*:*:*:*:*:community_aws:*:* |
< 2.0.0 | 2.0.0 |
| NVD | redhat | ansible_collectioncpe:2.3:a:redhat:ansible_collection:*:*:*:*:*:aws:*:* |
>= 2.1.0, < 5.1.0 | 5.1.0 |
| OSV | PyPI | ansible | >= 2.5.0, < 7.0.0 | 7.0.0 |
References
- https://github.com/ansible-collections/amazon.aws/pull/1199 · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-3697 · ADVISORY
- 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://pypi.org/project/ansible · PACKAGE
- https://github.com/advisories/GHSA-cpx3-93w7-457x · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 28 Oct 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Oct 2022)