# CVE-2023-4237: ansible: A flaw was found in the Ansible Automation Platform

CVE-2023-4237 is fixed in ansible on 1 platform, first by DEBIAN-CVE-2023-4237, released October 4, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-4237
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0025
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 4, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ansible Debian 12.15 (bookworm) | 7.7.0+dfsg-3+deb12u1 | [DEBIAN-CVE-2023-4237](https://patchblox.com/security/data/fix/linux/debian-cve-2023-4237.md) | Oct 4, 2023 |
| Linux | ansible Debian 13.5 (trixie) | 9.4.0+dfsg-1 | [DEBIAN-CVE-2023-4237](https://patchblox.com/security/data/fix/linux/debian-cve-2023-4237.md) | Oct 4, 2023 |
| Linux | ansible Debian 14 | 9.4.0+dfsg-1 | [DEBIAN-CVE-2023-4237](https://patchblox.com/security/data/fix/linux/debian-cve-2023-4237.md) | Oct 4, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
