Vulnerability · Published Oct 28, 2022 · Assigned by redhat

CVE-2022-3697

High 7.5

In plain English

A high-severity security flaw in ansible, ansible community.aws, ansible amazon.aws. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)0.9%top 40.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ansible7.0.0+dfsg-1DEBIAN-CVE-2022-3697
Debian:13ansible7.0.0+dfsg-1DEBIAN-CVE-2022-3697
Debian:14ansible7.0.0+dfsg-1DEBIAN-CVE-2022-3697
PyPIansible7.0.0GHSA-cpx3-93w7-457x
PyPIansible7.0.0PYSEC-2026-768
Ubuntu:22.04:LTSansible-coreno fix listedUBUNTU-CVE-2022-3697
Ubuntu:24.04:LTSansible-coreno fix listedUBUNTU-CVE-2022-3697
Ubuntu:25.10ansible-coreno fix listedUBUNTU-CVE-2022-3697
Ubuntu:26.04:LTSansible-coreno fix listedUBUNTU-CVE-2022-3697
Ubuntu:26.10ansible-coreno fix listedUBUNTU-CVE-2022-3697

Affected products (as reported)

VendorProductVersions
n/a ansible, ansible community.aws, ansible amazon.aws ansible from 2.5.0 before 2.10ansible community.aws before 2.0.0ansible amazon.aws from 2.1.0 before 5.1.0

Weakness: CWE-233

References