Skip to content
Fencer Intel
high 7.5

CVE-2022-3697 json

Ansible leaks password to logs

published 4y ago modified 4mo ago also GHSA-cpx3-93w7-457x , PYSEC-2026-768 , EUVD-2022-7080

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 59%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi ansible 7.0.0
  • redhat ansible 2.10.0
  • redhat ansible_collection 2.0.0, 5.1.0
  • ansible Debian 14, Debian 13, Debian 12 7.0.0+dfsg-1

debian advisories DEBIAN-CVE-2022-3697

  • ansible Ubuntu Pro 18.04 LTS 2.5.1+dfsg-1ubuntu0.1+esm2
  • ansible Ubuntu Pro 20.04 LTS 2.9.6+dfsg-1ubuntu0.1~esm2
  • ansible Ubuntu Pro 22.04 LTS 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4

ubuntu advisories UBUNTU-CVE-2022-3697

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2022-3697 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-3697 updated cvss 5.7

ansible: improper handling of tower_callback parameter in amazon.aws collection

  • Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/ee-supported-rhel9
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.90% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi ansible
>=2.5.0, <7.0.0
7.0.0

Affected products

  • n/a ansible, ansible community.aws, ansible amazon.aws

Classification

Weakness
  • CWE-233 Improper Handling of Parameters

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.