{"cve":"CVE-2023-4237","nvd":{"published":"2023-10-04T15:15:12.643","modified":"2026-06-17T06:37:22.950","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-497"],"references":["https://access.redhat.com/errata/RHBA-2023:5653","https://access.redhat.com/errata/RHBA-2023:5666","https://access.redhat.com/security/cve/CVE-2023-4237","https://bugzilla.redhat.com/show_bug.cgi?id=2229979","https://access.redhat.com/errata/RHBA-2023:5653"],"products":["redhat:ansible_automation_platform","redhat:ansible_collection"],"source":"nvd","synced_at":"2026-10-19T21:39:34.467980132+00:00"},"epss":{"cve":"CVE-2023-4237","score":0.00252,"percentile":0.1667,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-ww3m-ffrm-qvqv","url":"https://osv.dev/vulnerability/GHSA-ww3m-ffrm-qvqv","summary":"Ansible may expose private key","modified":"2026-09-10T03:50:08.699474239Z","packages":[{"ecosystem":"PyPI","name":"ansible-core","purl":"pkg:pypi/ansible-core","ranges":[">=2.8.0 <=2.15.2"],"fixed":[]}]},{"id":"PYSEC-2026-1125","url":"https://osv.dev/vulnerability/PYSEC-2026-1125","summary":"Ansible may expose private key","modified":"2026-07-07T17:46:19.963322801Z","packages":[{"ecosystem":"PyPI","name":"ansible-core","purl":"pkg:pypi/ansible-core","ranges":[">=2.8.0 <=2.15.2"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}