Skip to content

Ansible leaks password to logs

High severity GitHub Reviewed Published Oct 28, 2022 to the GitHub Advisory Database • Updated Jan 6, 2024

Package

pip ansible (pip)

Affected versions

>= 2.5.0, < 7.0.0

Patched versions

7.0.0

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.

References

Published by the National Vulnerability Database Oct 28, 2022
Published to the GitHub Advisory Database Oct 28, 2022
Reviewed Jan 24, 2023
Last updated Jan 6, 2024

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2022-3697

GHSA ID

GHSA-cpx3-93w7-457x

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.