CVE-2023-4237
highpriority · track · 31EPSS 0.003 · 17 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- FixedRed Hat Ansible Automation Platform 2.4 for RHEL 8redhat_csaf
Red Hat Ansible Automation Platform
https://access.redhat.com/errata/RHBA-2023:5653 - FixedRed Hat Ansible Automation Platform 2.4 for RHEL 9redhat_csaf
Red Hat Ansible Automation Platform
https://access.redhat.com/errata/RHBA-2023:5653 - Fixedansible-automation-platform-24/ee-supported-rhel8@sha256:15f596db2b8fa42debf0439c895756da1ce1b38efa3e592650c348f5f8569f7b_ppc64le as a component of Red Hat Ansible Automation Platform 2.4 for RHEL 8redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2023:5666 - Fixedansible-automation-platform-24/ee-supported-rhel8@sha256:29e3a305dfbce817240a018b279e12af68e5015e5adb4a8555ae9eb69269e128_amd64 as a component of Red Hat Ansible Automation Platform 2.4 for RHEL 8redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2023:5666 - Fixedansible-automation-platform-24/ee-supported-rhel8@sha256:5f21ef6737e10669a75f49dc0e8cbef04a1c5d305e100cb555a1dcbef35d7206_s390x as a component of Red Hat Ansible Automation Platform 2.4 for RHEL 8redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2023:5666 - Fixedansible-automation-platform-24/ee-supported-rhel8@sha256:9783a088258a809fe375df327609d2f7b49616f97cb943ad152f33b383a88cfb_arm64 as a component of Red Hat Ansible Automation Platform 2.4 for RHEL 8redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2023:5666 - Fixedansible-automation-platform-24/ee-supported-rhel9@sha256:6a6c4b20d1fd2b9f991a70d948d77b50d1c4d42a21cb6e8588e825d5a94c1997_ppc64le as a component of Red Hat Ansible Automation Platform 2.4 for RHEL 9redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2023:5666 - Fixedansible-automation-platform-24/ee-supported-rhel9@sha256:9da545b76aadb9f94b95609cb416f47900801ba34e6fec0141c4daecccc2afbf_arm64 as a component of Red Hat Ansible Automation Platform 2.4 for RHEL 9redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2023:5666 - Fixedansible-automation-platform-24/ee-supported-rhel9@sha256:ad8bf3a8fbaf8ca288c90bcf78b25944ba9127f17d5c09d47d7b36398baab749_s390x as a component of Red Hat Ansible Automation Platform 2.4 for RHEL 9redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2023:5666 - Fixedansible-automation-platform-24/ee-supported-rhel9@sha256:c6336f34507e47c20cfb0aefafb0333dd7b8c0a540febdcec1b1db9f155316d2_amd64 as a component of Red Hat Ansible Automation Platform 2.4 for RHEL 9redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2023:5666
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–7.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (129)
Products and version ranges known to be affected.
- Red Hat Ansible Automation Platform <= 2.8all versionscert_bundDEcpe:/a:redhat:ansible_automation_platform:2.8
- redhat ansible automation platform= 2.0nvdUScpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*
- Red Hat Ansible Automation Platform 2.4 for RHEL 8all versionsfixedredhat_csafUScpe:/a:redhat:ansible_automation_platform:2.4::el8
- Red Hat Ansible Automation Platform 2.4 for RHEL 9all versionsfixedredhat_csafUScpe:/a:redhat:ansible_automation_platform:2.4::el9
advisories (5)
Vendor and ecosystem advisories describing this.
- RHBA-2023:5653Red Hat Bug Fix Advisory: Red Hat Ansible Automation Platform 2.4 Setup Bundle Release Update2023-10-10csaf · redhat_csafUS
An update is now available for Red Hat Ansible Automation Platform 2.4 Setup Bundle
- RHBA-2023:5666Red Hat Bug Fix Advisory: Red Hat Ansible Automation Platform 2.4 Container Release Update2023-10-12csaf · redhat_csafUS
An update is now available for Red Hat Ansible Automation Platform 2.4
- WID-SEC-W-2023-2559Red Hat Ansible Automation Platform: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2023-10-04csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in Red Hat Ansible Automation Platform ausnutzen, um Informationen offenzulegen.
- GHSA-ww3m-ffrm-qvqvAnsible may expose private key2023-10-04ghsa · osvUS
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.
- PYSEC-2026-1125Ansible may expose private key2026-07-07vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2023-4237cnnvd
- https://access.redhat.com/security/cve/cve-2023-4237cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2229979cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-4237/cnnvd
- https://access.redhat.com/errata/RHBA-2023:5653enisa_euvd
- https://access.redhat.com/errata/RHBA-2023:5666enisa_euvd
- https://access.redhat.com/security/cve/CVE-2023-4237enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2229979enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan