Skip to main content
No exploitation reportedFix available

CVE-2022-3697

No exploitation reported by the sources we read.

  • Published2022-10-28
  • Fixed in7.0.0
  • WeaknessCWE-233

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2022-10-2816:15CVE publishedNVD

Versions per branch

OSV · NVD
ansible
BranchAffectedFixed in
7.0≥ 2.5.0, < 7.0.07.0.0
Redhat ansible collection
BranchAffectedFixed in
5.1≥ 2.1.0, < 5.1.05.1.0
2.0< 2.0.02.0.0
Redhat ansible
BranchAffectedFixed in
2.x≥ 2.5.0, < 2.10.02.10.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ansibleUbuntu:Pro:22.04:LTSall versions · fixed in 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4
  • ansibleUbuntu:Pro:20.04:LTSall versions · fixed in 2.9.6+dfsg-1ubuntu0.1~esm2
  • ansibleUbuntu:Pro:18.04:LTSall versions · fixed in 2.5.1+dfsg-1ubuntu0.1+esm2
  • ansibleUbuntu:Pro:16.04:LTSall versions · fixed in 2.0.0.2-2ubuntu1.3+esm2
  • ansibleTuxCare:Ubuntu:18.04all versions · fixed in 2.5.1+dfsg-1ubuntu0.1+tuxcare.els1
  • ansibleopenEuler:24.03-LTS-SP1all versions · fixed in 2.9.27-7.oe2403sp1
  • ansibleopenEuler:24.03-LTSall versions · fixed in 2.9.27-7.oe2403
  • ansibleopenEuler:22.03-LTS-SP4all versions · fixed in 2.9.27-6.oe2203sp4

11 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-3697 Red Hat Product Security1 known affected

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

    ansible-automation-platform-25/ee-supported-rhel9 as a component of Red Hat Ansible Automation Platform 2

Full record on NVD

Fix

  1. Update ansible to 7.0.0
  2. No fix planned, says the vendor Red Hat Product Security CVE-2022-3697 · 1 productWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2022-10-28
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-cpx3-93w7-457x

Frequently asked questions

What is CVE-2022-3697?

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.

Is CVE-2022-3697 actively exploited?

Active exploitation of CVE-2022-3697 has not been confirmed. Its EPSS score was 0.9% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-3697?

CVE-2022-3697 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running ansible? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record