ADVISORIES

GitHub Advisory Database

GHSA-ww3m-ffrm-qvqv

Ansible may expose private key

Moderate No fix available CVE-2023-4237PYSEC-2026-1125

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.

Affected packages

EcosystemPackageAffected versions
PyPIansible-core
From 2.8.0 up to and including 2.15.2

References