VDB

CVE-2022-3697

CVE-2022-3697 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
ansiblePyPI7.0.0
ansibleredhat2.10.0

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
n/aansible, ansible community.aws, ansible amazon.awsansible 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/aansible, ansible community.aws, ansible amazon.aws2.5.0, 2.0.0, 2.1.0
PyPIansible2.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›