Skip to content
OpenAdvisories
High · 7.5 CVE-2022-3697 EUVD-2022-7080GHSA-cpx3-93w7-457xPYSEC-2026-768

Ansible leaks password to logs

Published Oct 28, 2022 · Updated Feb 13, 2025 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— ansible, ansible community.aws, ansible amazon.aws ansible from 2.5.0 before 2.10, ansible community.aws before 2.0.0, ansible amazon.aws from 2.1.0 before 5.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ansible 7.0.0+dfsg-1 —
Debian 13 ansible 7.0.0+dfsg-1 —
Debian 12 ansible 7.0.0+dfsg-1 —
Debian 10 ansible 2.7.7+dfsg-1+deb10u2 DLA-3695-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ansible-core No fix yet —
Ubuntu 26.04 LTS ansible-core No fix yet —
Ubuntu 25.10 ansible-core No fix yet —
Ubuntu 24.04 LTS ansible-core No fix yet —
Ubuntu 22.04 LTS ansible-core No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS ansible 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4 USN-6846-1
Ubuntu Pro 20.04 LTS ansible 2.9.6+dfsg-1ubuntu0.1~esm2 USN-6846-1
Ubuntu Pro 18.04 LTS ansible 2.5.1+dfsg-1ubuntu0.1+esm2 USN-6846-1
Ubuntu Pro 16.04 LTS ansible 2.0.0.2-2ubuntu1.3+esm2 USN-6846-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ansible >= 2.5.0, < 7.0.0 7.0.0 GHSA-cpx3-93w7-457x

Advisories 3

References