CVE Vulnerabilities

CVE-2022-3697

Improper Handling of Parameters

Published: Oct 28, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
5.7 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not properly handle when the expected number of parameters, fields, or arguments is not provided in input, or if those parameters are undefined.

Affected Software

NameVendorStart VersionEnd Version
AnsibleRedhat2.5.0 (including)2.10.0 (excluding)
Ansible_collectionRedhat*2.0.0 (excluding)
Ansible_collectionRedhat2.1.0 (including)5.1.0 (excluding)
AnsibleUbuntubionic*
AnsibleUbuntuesm-apps/bionic*
AnsibleUbuntuesm-apps/focal*
AnsibleUbuntuesm-apps/jammy*
AnsibleUbuntufocal*
AnsibleUbuntujammy*
AnsibleUbuntukinetic*
AnsibleUbuntulunar*
AnsibleUbuntutrusty*
AnsibleUbuntuupstream*
AnsibleUbuntuxenial*
Ansible-coreUbuntukinetic*
Ansible-coreUbuntulunar*
Ansible-coreUbuntumantic*
Ansible-coreUbuntuoracular*
Ansible-coreUbuntuplucky*

References