{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-4237","id":"CVE-2023-4237","title":"Platform: ec2_key module prints out the private key directly to the standard output","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.","descriptionLong":"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.","published":"2023-10-04T14:23:20.710Z","updated":"2026-10-28T02:31:08.861922713Z","reserved":"2023-08-08T11:15:05.990Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},"metrics":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"redhat.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"OSV"}],"rating":"high","products":["Red Hat Ansible Automation Platform 2.4 for RHEL 8","Red Hat Ansible Automation Platform 2.4 for RHEL 9"],"affectedProducts":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","defaultStatus":"affected","versions":[{"version":"1.0.0-423","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","defaultStatus":"affected","versions":[{"version":"1.0.0-424","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible-core","purl":"pkg:pypi/ansible-core","ranges":[">=2.8.0 <=2.15.2"],"fixed":[],"advisory":"GHSA-ww3m-ffrm-qvqv"}],"cwes":["CWE-497"],"aliases":["GHSA-ww3m-ffrm-qvqv","PYSEC-2026-1125"],"references":[{"url":"https://access.redhat.com/errata/RHBA-2023:5653","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://access.redhat.com/errata/RHBA-2023:5666","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-4237","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229979","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://security.netapp.com/advisory/ntap-20241025-0002/","tags":["advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://catalog.redhat.com/software/containers/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4237.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4237","tags":["advisory"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://pypi.org/project/ansible-core","tags":["package"]},{"url":"https://github.com/advisories/GHSA-ww3m-ffrm-qvqv","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00252,"epssPercentile":0.16763,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-4237","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4237","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-4237","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ww3m-ffrm-qvqv","ok":true,"note":"GHSA-ww3m-ffrm-qvqv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-4237","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}