CVE-2022-3697
Ansible leaks password to logs
Reported by redhat · Published October 28, 2022
ansible is fixed in 7.0.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ansible | PyPI | 7.0.0 |
| ansible | redhat | 2.10.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | ansible, ansible community.aws, ansible amazon.aws | ansible from 2.5.0 before 2.10, ansible community.aws before 2.0.0, ansible amazon.aws from 2.1.0 before 5.1.0 |
| n/a | ansible, ansible community.aws, ansible amazon.aws | 2.5.0, 2.0.0, 2.1.0 |
| PyPI | ansible | 2.5.0 |
Timeline
- Oct 28, 2022 CVE Published
- Oct 29, 2022 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (4 in total, the first dated here)
- Mar 20, 2026 Distribution Patch (3 in total, the first dated here)
- Jun 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-3697
vulnetix vdb fixes CVE-2022-3697
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-3697/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart