CVE-2023-4237
Platform: ec2_key module prints out the private key directly to the standard output
- 7.3HighCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 83% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 57 days later
· 57 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 83% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Affected products
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8
All versions: unaffected
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8
- unaffected 1.0.0-423 – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9
All versions: unaffected
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9
- unaffected 1.0.0-424 – < *
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIansible-coreGHSA-ww3m-ffrm-qvqv (opens in a new tab)
References
References5
- RHBA-2023:5653 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHBA-2023:5666 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-4237 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2229979 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://security.netapp.com/advisory/ntap-20241025-0002/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-2834 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-ww3m-ffrm-qvqv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-4237)Record last updated .