{"id":"CVE-2022-3697","aliases":["CLSA-2023-1691083401","DEBIAN-CVE-2022-3697","DLA-3695-1","EUVD-2022-7080","GHSA-cpx3-93w7-457x","OESA-2025-1125","PYSEC-2026-768","UBUNTU-CVE-2022-3697","USN-6846-1"],"status":"published","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.","severity":{"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","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00902,"percentile":0.60046,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-233"],"published":"2022-10-28T00:00:00Z","modified":"2026-11-03T08:02:07Z","fixes":[{"ecosystem":"PyPI","package":"ansible","fixed_in":["7.0.0"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:Ubuntu:18.04","package":"ansible","fixed_in":["2.5.1+dfsg-1ubuntu0.1+tuxcare.els1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"ansible","fixed_in":["7.0.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ansible","fixed_in":["7.0.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ansible","fixed_in":["7.0.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ansible","fixed_in":["2.5.1+dfsg-1ubuntu0.1+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"ansible","fixed_in":["2.9.6+dfsg-1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"ansible","fixed_in":["2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"7.0.0"}]}]},{"source":"osv","ecosystem":"TuxCare:Ubuntu:18.04","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1+dfsg-1ubuntu0.1+tuxcare.els1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.7+dfsg-1+deb10u2"}]}],"versions":["2.7.7+dfsg-1","2.7.7+dfsg-1+deb10u1"],"bundled":8},{"source":"osv","ecosystem":"PyPI","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"7.0.0"}]}],"versions":["2.10.0","2.10.0a1","2.10.0a2","2.10.0a3","2.10.0a4","2.10.0a5","2.10.0a6","2.10.0a7","2.10.0a8","2.10.0a9","2.10.0b1","2.10.0b2","2.10.0rc1","2.10.1","2.10.2","2.10.3","2.10.4","2.10.5","2.10.6","2.10.7","2.5.0","2.5.1","2.5.10","2.5.11","2.5.12","2.5.13","2.5.14","2.5.15","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.5.8","2.5.9","2.6.0","2.6.0a1","2.6.0a2","2.6.0rc1","2.6.0rc2","2.6.0rc3","2.6.0rc4","2.6.0rc5","2.6.1","2.6.10","2.6.11","2.6.12","2.6.13","2.6.14","2.6.15","2.6.16","2.6.17","2.6.18","2.6.19","2.6.2","2.6.20","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9","2.7.0","2.7.0.dev0","2.7.0a1","2.7.0b1","2.7.0rc1","2.7.0rc2","2.7.0rc3","2.7.0rc4","2.7.1","2.7.10","2.7.11","2.7.12","2.7.13","2.7.14","2.7.15","2.7.16","2.7.17","2.7.18","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.8","2.7.9","2.8.0","2.8.0a1","2.8.0b1","2.8.0rc1","2.8.0rc2","2.8.0rc3","2.8.1","2.8.10","2.8.11","2.8.12","2.8.13","2.8.14","2.8.15","2.8.16","2.8.16rc1","2.8.17","2.8.17rc1","2.8.18","2.8.18rc1","2.8.19","2.8.19rc1","2.8.2","2.8.20","2.8.20rc1","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.8.8","2.8.9","2.9.0","2.9.0b1","2.9.0rc1","2.9.0rc2","2.9.0rc3","2.9.0rc4","2.9.0rc5","2.9.1","2.9.10","2.9.11","2.9.12","2.9.13","2.9.14","2.9.14rc1","2.9.15","2.9.15rc1","2.9.16","2.9.16rc1","2.9.17","2.9.17rc1","2.9.18","2.9.18rc1","2.9.19","2.9.19rc1","2.9.2","2.9.20","2.9.20rc1","2.9.21","2.9.21rc1","2.9.22","2.9.22rc1","2.9.23","2.9.23rc1","2.9.24","2.9.24rc1","2.9.25","2.9.25rc1","2.9.26","2.9.26rc1","2.9.27","2.9.27rc1","2.9.3","2.9.4","2.9.5","2.9.6","2.9.7","2.9.8","2.9.9","3.0.0","3.0.0b1","3.0.0rc1","3.1.0","3.2.0","3.3.0","3.4.0","4.0.0","4.0.0a1","4.0.0a2","4.0.0a3","4.0.0a4","4.0.0b1","4.0.0b2","4.0.0rc1","4.1.0","4.10.0","4.2.0","4.3.0","4.4.0","4.5.0","4.6.0","4.7.0","4.8.0","4.9.0","5.0.0a1","5.0.0a2","5.0.0a3","5.0.0b1","5.0.0b2","5.0.0rc1","5.0.1","5.1.0","5.10.0","5.2.0","5.3.0","5.4.0","5.5.0","5.6.0","5.7.0","5.7.1","5.8.0","5.9.0","6.0.0","6.0.0a1","6.0.0a2","6.0.0a3","6.0.0b1","6.0.0b2","6.0.0rc1","6.1.0","6.2.0","6.3.0","6.4.0","6.5.0","6.6.0","6.7.0","7.0.0a1","7.0.0a2","7.0.0b1","7.0.0rc1"]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP1","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.27-7.oe2403sp1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.5-8.oe2003sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.27-6.oe2203sp3"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.27-6.oe2203sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:24.03-LTS","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.27-7.oe2403"}]}],"bundled":2},{"source":"osv","ecosystem":"PyPI","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"7.0.0"}]}],"versions":["2.10.0","2.10.0a1","2.10.0a2","2.10.0a3","2.10.0a4","2.10.0a5","2.10.0a6","2.10.0a7","2.10.0a8","2.10.0a9","2.10.0b1","2.10.0b2","2.10.0rc1","2.10.1","2.10.2","2.10.3","2.10.4","2.10.5","2.10.6","2.10.7","2.5.0","2.5.1","2.5.10","2.5.11","2.5.12","2.5.13","2.5.14","2.5.15","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.5.8","2.5.9","2.6.0","2.6.0a1","2.6.0a2","2.6.0rc1","2.6.0rc2","2.6.0rc3","2.6.0rc4","2.6.0rc5","2.6.1","2.6.10","2.6.11","2.6.12","2.6.13","2.6.14","2.6.15","2.6.16","2.6.17","2.6.18","2.6.19","2.6.2","2.6.20","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9","2.7.0","2.7.0.dev0","2.7.0a1","2.7.0b1","2.7.0rc1","2.7.0rc2","2.7.0rc3","2.7.0rc4","2.7.1","2.7.10","2.7.11","2.7.12","2.7.13","2.7.14","2.7.15","2.7.16","2.7.17","2.7.18","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.8","2.7.9","2.8.0","2.8.0a1","2.8.0b1","2.8.0rc1","2.8.0rc2","2.8.0rc3","2.8.1","2.8.10","2.8.11","2.8.12","2.8.13","2.8.14","2.8.15","2.8.16","2.8.16rc1","2.8.17","2.8.17rc1","2.8.18","2.8.18rc1","2.8.19","2.8.19rc1","2.8.2","2.8.20","2.8.20rc1","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.8.8","2.8.9","2.9.0","2.9.0b1","2.9.0rc1","2.9.0rc2","2.9.0rc3","2.9.0rc4","2.9.0rc5","2.9.1","2.9.10","2.9.11","2.9.12","2.9.13","2.9.14","2.9.14rc1","2.9.15","2.9.15rc1","2.9.16","2.9.16rc1","2.9.17","2.9.17rc1","2.9.18","2.9.18rc1","2.9.19","2.9.19rc1","2.9.2","2.9.20","2.9.20rc1","2.9.21","2.9.21rc1","2.9.22","2.9.22rc1","2.9.23","2.9.23rc1","2.9.24","2.9.24rc1","2.9.25","2.9.25rc1","2.9.26","2.9.26rc1","2.9.27","2.9.27rc1","2.9.3","2.9.4","2.9.5","2.9.6","2.9.7","2.9.8","2.9.9","3.0.0","3.0.0b1","3.0.0rc1","3.1.0","3.2.0","3.3.0","3.4.0","4.0.0","4.0.0a1","4.0.0a2","4.0.0a3","4.0.0a4","4.0.0b1","4.0.0b2","4.0.0rc1","4.1.0","4.10.0","4.2.0","4.3.0","4.4.0","4.5.0","4.6.0","4.7.0","4.8.0","4.9.0","5.0.0a1","5.0.0a2","5.0.0a3","5.0.0b1","5.0.0b2","5.0.0rc1","5.0.1","5.1.0","5.10.0","5.2.0","5.3.0","5.4.0","5.5.0","5.6.0","5.7.0","5.7.1","5.8.0","5.9.0","6.0.0","6.0.0a1","6.0.0a2","6.0.0a3","6.0.0b1","6.0.0b2","6.0.0rc1","6.1.0","6.2.0","6.3.0","6.4.0","6.5.0","6.6.0","6.7.0","7.0.0a1","7.0.0a2","7.0.0b1","7.0.0rc1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1+dfsg-1ubuntu0.1+esm2"}]}],"versions":["2.3.1.0+dfsg-2","2.5.0+dfsg-1","2.5.1+dfsg-1","2.5.1+dfsg-1ubuntu0.1","2.5.1+dfsg-1ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.6+dfsg-1ubuntu0.1~esm2"}]}],"versions":["2.8.3+dfsg-1","2.8.6+dfsg-1","2.9.2+dfsg-1","2.9.4+dfsg-1","2.9.6+dfsg-1","2.9.6+dfsg-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.0-1","2.12.0-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4"}]}],"versions":["2.10.7+merged+base+2.10.8+dfsg-1","2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.14.9-2","2.14.11-1","2.14.11-2","2.14.13-1","2.16.3-0ubuntu1","2.16.3-0ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.18.1-4ubuntu1","2.19.0~beta4-1ubuntu1","2.19.0-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.20.1-1","2.21.1~rc1-1","2.21.1~rc1-2","2.21.1~rc1-2ubuntu1","2.22.0~beta2-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ansible-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.0-1ubuntu1","2.19.4-1","2.20.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0.2-2ubuntu1.3+esm2"}]}],"versions":["1.9.2+dfsg-2","1.9.4-1","2.0.0.2-2","2.0.0.2-2ubuntu1","2.0.0.2-2ubuntu1.1","2.0.0.2-2ubuntu1.2","2.0.0.2-2ubuntu1.3","2.0.0.2-2ubuntu1.3+esm1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1+dfsg-1ubuntu0.1+esm2"}]}],"versions":["2.3.1.0+dfsg-2","2.5.0+dfsg-1","2.5.1+dfsg-1","2.5.1+dfsg-1ubuntu0.1","2.5.1+dfsg-1ubuntu0.1+esm1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.6+dfsg-1ubuntu0.1~esm2"}]}],"versions":["2.8.3+dfsg-1","2.8.6+dfsg-1","2.9.2+dfsg-1","2.9.4+dfsg-1","2.9.6+dfsg-1","2.9.6+dfsg-1ubuntu0.1~esm1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"ansible","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4"}]}],"versions":["2.10.7+merged+base+2.10.8+dfsg-1","2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1"],"bundled":2}],"products":[{"vendor":"redhat","product":"ansible"},{"vendor":"redhat","product":"ansible_collection"}],"references":[{"url":"https://github.com/ansible-collections/amazon.aws/pull/1199","tags":["x_transferred","Third Party Advisory","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html","tags":["x_transferred","web"]},{"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/advisories/GHSA-cpx3-93w7-457x","tags":["advisory"]},{"url":"https://errata.cloudlinux.com/ubuntu18_04-els/CLSA-2023-1691083401","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3697.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-3697","tags":["advisory"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1125","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5115","tags":["advisory"]},{"url":"https://pypi.org/project/ansible","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-3697","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2137664","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-3697","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6846-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-5764","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-3697","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.","status":"published","published":"2022-10-28T00:00:00Z","modified":"2025-02-13T16:32:52.283Z","cwes":["CWE-233"],"updated_at":"2026-11-02T14:34:32.843656Z"}],"euvd":[{"id":"EUVD-2022-7080","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.","status":"published","published":"2022-10-28T00:00:00Z","modified":"2025-02-13T16:32:52Z","updated_at":"2026-11-03T00:03:52.297177Z"}],"ghsa":[{"id":"GHSA-cpx3-93w7-457x","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.","status":"published","published":"2022-10-28T19:00:38Z","modified":"2024-01-06T05:06:10Z","cvss":[{"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","level":"high"}],"cwes":["CWE-233"],"updated_at":"2026-11-02T14:37:30.183224Z"}],"nvd":[{"id":"CVE-2022-3697","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.","status":"published","published":"2022-10-28T16:15:16.403Z","modified":"2026-06-17T05:00:07.89Z","cvss":[{"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","level":"high","assessor":"primary"}],"cwes":["CWE-233"],"updated_at":"2026-11-02T14:07:31.127985Z"}],"osv":[{"id":"DEBIAN-CVE-2022-3697","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.","status":"published","published":"2022-10-28T16:15:16.403Z","modified":"2026-11-03T08:02:07.142226694Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-03T08:24:50.542442Z"},{"id":"GHSA-cpx3-93w7-457x","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.","status":"published","published":"2022-10-28T19:00:38Z","modified":"2026-07-07T11:56:18.999378054Z","cvss":[{"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","level":"high"}],"cwes":["CWE-233"],"updated_at":"2026-11-02T15:46:45.28161Z"},{"id":"OESA-2025-1125","title":"ansible security update","description":"Ansible is a radically simple model-driven configuration management, multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. %if 0 Provides:            ansible-python3 = - Obsoletes:           ansible-python3 \u0026amp;lt; - BuildRequires:       python3-devel python3-setuptools BuildRequires:       python3-PyYAML python3-paramiko python3-crypto python3-packaging BuildRequires:       python3-pexpect python3-winrm BuildRequires:       git-core %if %with_docs BuildRequires:       python3-sphinx python3-sphinx-theme-alabaster asciidoc %endif BuildRequires:       python3-six python3-nose python3-pytest python3-pytest-xdist BuildRequires:       python3-pytest-mock python3-requests python3-coverage python3-mock BuildRequires:       python3-boto3 python3-botocore python3-passlib python3-jinja2 Requires:            python3-PyYAML python3-paramiko python3-crypto python3-setuptools python3-six Requires:            python3-jinja2 sshpass python3-jmespath %description Ansible is a radically simple model-driven configuration management, multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. This package installs versions of ansible that execute on Python3. %endif\r\n\r\nSecurity Fix(es):\n\nA 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.(CVE-2022-3697)\n\nAn absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.(CVE-2023-5115)","status":"published","published":"2025-02-14T11:08:13Z","modified":"2026-08-18T01:18:46.295628685Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:52:42.253598Z"},{"id":"PYSEC-2026-768","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.","status":"published","published":"2026-07-07T10:17:22.91268Z","modified":"2026-07-07T11:45:46.892024635Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:52:58.117212Z"},{"id":"UBUNTU-CVE-2022-3697","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.","status":"published","published":"2022-10-28T16:15:00Z","modified":"2026-10-17T12:55:58.611369757Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T16:53:54.697021Z"},{"id":"CLSA-2023-1691083401","title":"Fix CVE(s): CVE-2022-3697","description":"\n   * SECURITY UPDATE: improper handling of tower_callback parameter in\n     amazon.aws collection\n     - debian/patches/CVE-2022-3697.patch: ec2_instance - validate options\n       on tower_callback\n     - CVE-2022-3697\n   * Enable unit testing.","status":"published","published":"2023-08-03T17:23:26Z","modified":"2026-06-04T10:03:29.395607Z","updated_at":"2026-11-02T15:43:40.509998Z"},{"id":"CVE-2022-3697","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.","status":"published","published":"2022-10-28T00:00:00Z","modified":"2026-10-28T02:31:01.966886451Z","cwes":["CWE-233"],"updated_at":"2026-11-02T15:44:26.53798Z"},{"id":"DLA-3695-1","title":"ansible - security update","status":"published","published":"2023-12-28T00:00:00Z","modified":"2026-03-09T01:17:52.523592Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"USN-6846-1","title":"ansible vulnerabilities","description":"It was discovered that Ansible incorrectly handled certain inputs when using\ntower_callback parameter. If a user or an automated system were tricked into\nopening a specially crafted input file, a remote attacker could possibly use\nthis issue to obtain sensitive information. This issue only affected Ubuntu\n18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-3697)\n\nIt was discovered that Ansible incorrectly handled certain inputs. If a user or\nan automated system were tricked into opening a specially crafted input file, a\nremote attacker could possibly use this issue to perform a Template Injection.\n(CVE-2023-5764)\n","status":"published","published":"2024-06-25T11:07:42Z","modified":"2026-06-25T13:32:28.677809853Z","updated_at":"2026-11-02T16:58:17.914523Z"}]}}
