cve.bz

CVE-2022-3697 redhat: Improper Handling of Parameters

7.5 highEPSS 0.9%Fix available

High (7.5) in redhat. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in ansible 7.0.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-233 Improper Handling of Parameters
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-3697 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3697?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3697?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-3697 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:ansiblefrom 2.5.0 before 2.10.0
redhat:ansible_collectionbefore 2.0.0
redhat:ansible_collectionfrom 2.1.0 before 5.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cpx3-93w7-457xPyPIansible>=2.5.0 <7.0.07.0.0
PYSEC-2026-768PyPIansible>=2.5.0 <7.0.07.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ansible2.7.7+dfsg-1+deb10u2DLA-3695-1
Debian12, 13, 14ansible7.0.0+dfsg-1DEBIAN-CVE-2022-3697
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 moreansible-coreno fix listedUBUNTU-CVE-2022-3697
UbuntuPro:16.04:LTSansible2.0.0.2-2ubuntu1.3+esm2USN-6846-1
UbuntuPro:18.04:LTSansible2.5.1+dfsg-1ubuntu0.1+esm2UBUNTU-CVE-2022-3697 USN-6846-1
UbuntuPro:20.04:LTSansible2.9.6+dfsg-1ubuntu0.1~esm2UBUNTU-CVE-2022-3697 USN-6846-1
UbuntuPro:22.04:LTSansible2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4UBUNTU-CVE-2022-3697 USN-6846-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-supported-rhel8Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-3697.

Attack patterns (CAPEC)

  • CAPEC-39 Manipulating Opaque Client-based Data Tokens Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON