VDB
KO
MEDIUM 6.5

GHSA-ww3m-ffrm-qvqv

Ansible may expose private key

Details

A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / ansible-core
Introduced in: 2.8.0

No fixed version published yet for ansible-core (pip). Pin to a known-safe version or switch to an alternative.

References