CVE-2023-4237
Platform: ec2_key module prints out the private key directly to the standard output
- Published
- Updated
- Reserved
- Assigned by
- redhat
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
| 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 (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Weakness
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 (5)
- 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)
- 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://trackcve.app/cve/CVE-2023-4237)Record last updated .