{"id":"CVE-2023-4237","published":"2023-10-04T14:23:20Z","modified":"2026-02-25T18:31:55Z","title":"Platform: ec2_key module prints out the private key directly to the standard output","vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00252,"percentile":0.16603,"provenance":"source"},"cwes":[{"id":"CWE-497","name":"Exposure of Sensitive System Information to an Unauthorized Control Sphere"}],"references":[{"url":"https://access.redhat.com/errata/RHBA-2023:5653","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHBA-2023:5666","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-4237","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229979","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.netapp.com/advisory/ntap-20241025-0002/","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":3.32},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","versions":["all versions"]}],"affected":[{"ecosystem":"PyPI","package":"ansible-core","vulnerableRanges":[">=2.8.0, <=2.15.2"],"patched":[],"from":["GHSA-ww3m-ffrm-qvqv","PYSEC-2026-1125"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-2834","exploited":false,"provenance":"source"}}