Live threats

All CVEs / Redhat

CVE-2022-3697Redhat Ansible

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 61
Auth required
No
Published
Oct 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-233
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ansible ≥ 2.5.0 < 7.0.0 7.0.0 pip install "ansible>=7.0.0"
PyPI ansible ≥ 2.5.0 < 7.0.0 7.0.0 pip install "ansible>=7.0.0"

Per OSV / GitHub Advisories (GHSA-cpx3-93w7-457x, PYSEC-2026-768). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatansible≥ 2.5.0 < 2.10.0
redhatansible_collection< 2.0.0
redhatansible_collection≥ 2.1.0 < 5.1.0

Official sources

References

Links published by the sources. Open them with care.