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

Read the record on cve.org

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

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere

Affected Products

ProductVersions
Red Hat Ansible Automation Platform 2.4 for RHEL 8Red Hat
    Red Hat Ansible Automation Platform 2.4 for RHEL 8Red Hat
    • 1.0.0-423 and laterNot affected
    Red Hat Ansible Automation Platform 2.4 for RHEL 9Red Hat
      Red Hat Ansible Automation Platform 2.4 for RHEL 9Red Hat
      • 1.0.0-424 and laterNot affected

      References

      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.