{"schemaVersion":3,"id":"CVE-2023-4237","aliases":["GHSA-ww3m-ffrm-qvqv","PYSEC-2026-1125","UBUNTU-CVE-2023-4237","DEBIAN-CVE-2023-4237"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-10-04T14:23:20.710Z","modified":"2026-02-25T18:31:55.136Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","exploitability":1.5,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00252,"percentile":0.15583,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00252},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00252,"percentile":0.15583}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00252,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00252,"percentile":0.15583}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-497","name":"Exposure of Sensitive System Information to an Unauthorized Control Sphere","description":"The product does not properly prevent sensitive system-level information from being accessed by unauthorized actors who do not have the same level of access to the underlying system as the product does.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/497.html"}],"affected":[{"vendor":"debian","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ansible","purlType":"deb","versions":[{"text":"< 7.7.0+dfsg-3+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 9.4.0+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.7.0+dfsg-3+deb12u1 | < 9.4.0+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ansible","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ansible-core","name":"ansible-core","label":"ansible-core","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ansible-core","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"ansible-core","name":"ansible-core","label":"ansible-core","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ansible-core","purlType":"pypi","versions":[{"text":"≥ 2.8.0, ≤ 2.15.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.8.0, ≤ 2.15.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"ansible_automation_platform","name":"ansible automation platform","label":"ansible_automation_platform","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"red-hat-ansible-automation-platform","label":"Red Hat Ansible Automation Platform","category":"server-app"}},"hubHref":"/vendor/redhat/ansible_automation_platform"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHBA-2023:5653","label":"access.redhat.com/errata/RHBA-2023:5653","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHBA-2023:5666","label":"access.redhat.com/errata/RHBA-2023:5666","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-4237","label":"access.redhat.com/security/cve/CVE-2023-4237","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","WEB","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229979","label":"bugzilla.redhat.com/show_bug.cgi?id=2229979","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","WEB","REPORT","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20241025-0002/","label":"security.netapp.com/advisory/ntap-20241025-0002/","hostname":"security.netapp.com","tags":[]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4237","label":"nvd.nist.gov/vuln/detail/CVE-2023-4237","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ansible/ansible","label":"github.com/ansible/ansible","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/ansible-core","label":"pypi.org/project/ansible-core","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-ww3m-ffrm-qvqv","label":"github.com/advisories/GHSA-ww3m-ffrm-qvqv","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-4237","label":"ubuntu.com/security/CVE-2023-4237","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-4237","label":"www.cve.org/CVERecord?id=CVE-2023-4237","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-4237","label":"security-tracker.debian.org/tracker/CVE-2023-4237","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-10-04T14:23:20.710Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-25T18:31:55.136Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:05:01.454Z","stale":false,"partial":false}}