CVE-2023-4237
Platform: ec2_key module prints out the private key directly to the standard output
- State
- Published
- Severity
- 7.3 High
- Published
- Oct 4, 2023
- Updated
- Feb 25, 2026
- Reserved
- Aug 8, 2023
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.3 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
Affected Products
| Product | Versions |
|---|---|
Red Hat Ansible Automation Platform 2.4 for RHEL 8Red Hat | |
Red Hat Ansible Automation Platform 2.4 for RHEL 8Red Hat |
|
Red Hat Ansible Automation Platform 2.4 for RHEL 9Red Hat | |
Red Hat Ansible Automation Platform 2.4 for RHEL 9Red Hat |
|
References
- RHBA-2023:5653vendor-advisory
- RHBA-2023:5666vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-4237vdb-entry
- RHBZ#2229979issue-tracking
- https://security.netapp.com/advisory/ntap-20241025-0002/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.