CVE-2022-3697
highpriority · track · 30EPSS 0.009 · 60 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (19)
Products and version ranges known to be affected.
- n/a ansible, ansible community.aws, ansible amazon.aws≤ ansible community.aws before 2.0.0enisa_euvdEU
- n/a ansible, ansible community.aws, ansible amazon.aws≤ ansible amazon.aws from 2.1.0 before 5.1.0enisa_euvdEU
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-1899Ansible: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2022-10-30csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Ansible ausnutzen, um Informationen offenzulegen.
- GHSA-cpx3-93w7-457xAnsible leaks password to logs2022-10-28ghsa · osvUS
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.
- PYSEC-2026-768Ansible leaks password to logs2026-07-07vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-3697cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-3697/cnnvd
- https://github.com/ansible-collections/amazon.aws/pull/1199cnnvd
- https://vigilance.fr/vulnerability/Amazon-aws-Ansible-logged-sensitive-information-via-tower-callback-43193cnnvd
- https://www.auscert.org.au/bulletins/ESB-2024.0004cnnvd
- https://github.com/ansible-collections/amazon.aws/pull/1199enisa_euvd
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.htmlenisa_euvd
- https://github.com/ansible-collections/amazon.aws/pull/1199Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan