CVE-2023-4237
published high CVSS 3.1 · 7.3Platform: ec2_key module prints out the private key directly to the standard output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Unaffected | Not required | redhat |
| Red Hat | — | ansible-automation-platform-24/ee-supported-rhel8Red Hat Ansible Automation Platform 2.4 for RHEL 8 · 1.0.0-423 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Unaffected | Not required | redhat |
| Red Hat | — | ansible-automation-platform-24/ee-supported-rhel9Red Hat Ansible Automation Platform 2.4 for RHEL 9 · 1.0.0-424 and later · Other versions: affected | Unaffected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | 1.0.0-423 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | 1.0.0-424 and later (unaffected · rpm)Default: affected | redhat · cna |
Weaknesses
1- CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
References
5- RHBA-2023:5653 https://access.redhat.com/errata/RHBA-2023:5653
- RHBA-2023:5666 https://access.redhat.com/errata/RHBA-2023:5666
- https://access.redhat.com/security/cve/CVE-2023-4237
- RHBZ#2229979 https://bugzilla.redhat.com/show_bug.cgi?id=2229979
- https://security.netapp.com/advisory/ntap-20241025-0002/
Provider assertions
2redhat · cna
Platform: ec2_key module prints out the private key directly to the standard output
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4b463507b1dbf8906f5e813b84e0e59758df8bede5ab579bc127c613591c0b05
- Ingested
- 23 Sep 2026, 08:13:36 UTC
- Source record
- Official CVE record