Platform: ec2_key module prints out the private key directly to the standard output
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-497.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | — | 1.0.0-423 | Patch available | CNA |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | — | — | Not affected | CNA |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | — | 1.0.0-424 | Patch available | CNA |
| — | ansible-core (PyPI) | 2.8.0 – 2.15.2 | — | No fix listed | GHSA-ww3m-ffrm-qvqv |
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 VendorRed Hat Affected — Fixed in 1.0.0-423 Patch available CNA
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 VendorRed Hat Affected — Fixed in 1.0.0-424 Patch available CNA
- ansible-core (PyPI) Vendor— Affected 2.8.0 – 2.15.2 Fixed in — No fix listed GHSA-ww3m-ffrm-qvqv
Remediation
- Fix · CNA Red Hat Ansible Automation Platform 2.4 for RHEL 8 (Red Hat) Fixed in 1.0.0-423
- Fix · CNA Red Hat Ansible Automation Platform 2.4 for RHEL 9 (Red Hat) Fixed in 1.0.0-424
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Fixed | — |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Fixed | — |
Not affected: 2 products
- Red Hat Ansible Automation Platform 2.4 for RHEL 8
- Red Hat Ansible Automation Platform 2.4 for RHEL 9
Timeline
- 2026-10-02 Threatist record created from CVE-2023-4237
- 2026-10-03 Alias added: GHSA-ww3m-ffrm-qvqv
References
More Red Hat Ansible Automation Platform vulnerabilities
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2026-35991 Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks KEVCVSS 3.1MEDIUM 6.5
- TI-2026-34281 JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection CVSS 3.1HIGH 7.5
- TI-2026-28834 jq: Out-of-Bounds Read in jv_parse_sized() Error Formatting for Non-NUL-Terminated Counted Buffers CVSS 4.0MEDIUM 6.9
- TI-2026-32429 Axios: Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge CVSS 3.1HIGH 7.7
- TI-2023-27712 Python-cryptography: bleichenbacher timing oracle attack against rsa decryption - incomplete fix for cve-2020-25659 CVSS 3.1HIGH 7.5
Sources
- CVE-2023-4237 · CVE Program
- CVE-2023-4237 · NVD
- FIRST EPSS
- GHSA-ww3m-ffrm-qvqv · GitHub Advisory Database · CC BY 4.0
- CVE-2023-4237 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences