{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-3697","id":"CVE-2022-3697","title":"Ansible leaks password to logs","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.","descriptionLong":"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":"2022-10-28T00:00:00.000Z","updated":"2026-10-28T02:31:01.966886451Z","reserved":"2022-10-26T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"}],"rating":"high","products":["ansible, ansible community.aws, ansible amazon.aws"],"affectedProducts":[{"vendor":"n/a","product":"ansible, ansible community.aws, ansible amazon.aws","defaultStatus":null,"versions":[{"version":"ansible from 2.5.0 before 2.10","status":"affected"},{"version":"ansible community.aws before 2.0.0","status":"affected"},{"version":"ansible amazon.aws from 2.1.0 before 5.1.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.5.0 <7.0.0"],"fixed":["7.0.0"],"advisory":"GHSA-cpx3-93w7-457x"}],"cwes":["CWE-233"],"aliases":["GHSA-cpx3-93w7-457x","PYSEC-2026-768"],"references":[{"url":"https://github.com/ansible-collections/amazon.aws/pull/1199","tags":["x_transferred","Third Party Advisory","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3697.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3697","tags":["advisory"]},{"url":"https://github.com/ansible/ansible/pull/35749","tags":["web"]},{"url":"https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst","tags":["web"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://pypi.org/project/ansible","tags":["package"]},{"url":"https://github.com/advisories/GHSA-cpx3-93w7-457x","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00909,"epssPercentile":0.60622,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-3697","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3697","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-3697","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cpx3-93w7-457x","ok":true,"note":"GHSA-cpx3-93w7-457x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-3697","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}