{"schemaVersion":3,"id":"CVE-2022-3697","aliases":["GHSA-cpx3-93w7-457x","PYSEC-2026-768","UBUNTU-CVE-2022-3697","DEBIAN-CVE-2022-3697"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-10-28T00:00:00.000Z","modified":"2025-02-13T16:32:52.283Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00781,"percentile":0.55185,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.014999999999999996,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00766},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00781,"percentile":0.55185}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00781,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00781,"percentile":0.55185}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-233","name":"Improper Handling of Parameters","description":"The product does not properly handle when the expected number of parameters, fields, or arguments is not provided in input, or if those parameters are undefined.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/233.html"}],"affected":[{"vendor":"debian","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ansible","purlType":"deb","versions":[{"text":"< 7.0.0+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.0+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ansible","purlType":"deb","versions":[{"text":"< 2.5.1+dfsg-1ubuntu0.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.9.6+dfsg-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.1+dfsg-1ubuntu0.1+esm2 | < 2.9.6+dfsg-1ubuntu0.1~esm2 | < 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ansible-core","name":"ansible-core","label":"ansible-core","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ansible-core","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"ansible","name":"ansible","label":"ansible","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ansible","purlType":"pypi","versions":[{"text":"≥ 2.5.0, < 7.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.5.0, < 7.0.0","eol":null,"hubHref":null},{"vendor":"redhat","product":"ansible","name":"ansible","label":"ansible","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.5.0, < 2.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.5.0, < 2.10.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"ansible-core","label":"Ansible-core","category":"framework"}},"hubHref":"/vendor/redhat/ansible"},{"vendor":"redhat","product":"ansible_collection","name":"ansible collection","label":"ansible_collection","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.0.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.1.0, < 5.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0 | ≥ 2.1.0, < 5.1.0","eol":null,"hubHref":"/vendor/redhat/ansible_collection"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ansible-collections/amazon.aws/pull/1199","label":"github.com/ansible-collections/amazon.aws/pull/1199","hostname":"github.com","tags":["WEB","REPORT","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html","label":"lists.debian.org/debian-lts-announce/2023/12/msg00018.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3697","label":"nvd.nist.gov/vuln/detail/CVE-2022-3697","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/ansible/ansible/pull/35749","label":"github.com/ansible/ansible/pull/35749","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst","label":"github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/ansible/ansible","label":"github.com/ansible/ansible","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/ansible","label":"pypi.org/project/ansible","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-cpx3-93w7-457x","label":"github.com/advisories/GHSA-cpx3-93w7-457x","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-3697","label":"ubuntu.com/security/CVE-2022-3697","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2137664","label":"bugzilla.redhat.com/show_bug.cgi?id=2137664","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-3697","label":"www.cve.org/CVERecord?id=CVE-2022-3697","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6846-1","label":"ubuntu.com/security/notices/USN-6846-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-3697","label":"security-tracker.debian.org/tracker/CVE-2022-3697","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3695-1","USN-6846-1"],"duplicates":[],"related":["USN-6846-1"]},"timeline":[{"kind":"published","date":"2022-10-28T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T16:32:52.283Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:05:39.272Z","stale":false,"partial":false}}