CVE-2023-4237

Platform: ec2_key module prints out the private key directly to the standard output

HIGH
7.8
CVSS Score
Published: October 4, 2023 at 02:23 PM UTC
Updated: June 17, 2026 at 06:37 AM UTC
2 products affected across 1 vendorAnsible Automation PlatformAnsible Collection

Using Red Hat Ansible Automation Platform 2.4 for RHEL 8 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Ansible Automation Platform 2.4 for RHEL 8 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Vendor states this is fixed in 1.0.0-423 (unaffected)
Vendor states this is fixed in 1.0.0-424 (unaffected)
Vendor states this is fixed in 2.4 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

VDB Entryx_refsource_REDHATVendor Advisory
https://access.redhat.com/security/cve/CVE-2023-4237
Issue Trackingx_refsource_REDHATVendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2229979
Source: af854a3a-2127-422b-91ae-364da2661108
https://security.netapp.com/advisory/ntap-20241025-0002/

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-497NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card