cve.bz

CVE-2023-4237 redhat

7.8 highEPSS 0.3%Fix available

High (7.8) in redhat. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 17th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-4237 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4237?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4237?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-4237 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform 2.4 for RHEL 81.0.0-423
Red Hat Ansible Automation Platform 2.4 for RHEL 91.0.0-424

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-ww3m-ffrm-qvqvPyPIansible-core>=2.8.0 <=2.15.2no fix published
PYSEC-2026-1125PyPIansible-core>=2.8.0 <=2.15.2no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ansible7.7.0+dfsg-3+deb12u1DEBIAN-CVE-2023-4237
Debian13, 14ansible9.4.0+dfsg-1DEBIAN-CVE-2023-4237
Ubuntu22.04:LTSansible-coreno fix listedUBUNTU-CVE-2023-4237
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moreansible, ansible-coreno fix listedUBUNTU-CVE-2023-4237
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 2 moreansibleno fix listedUBUNTU-CVE-2023-4237

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.4 for RHEL 8Fixed 2023-10-10RHBA-2023:5653
Red Hat Ansible Automation Platform 2.4 for RHEL 8ansible-automation-platform-24/ee-supported-rhel8:1.0.0-423Fixed 2023-10-12RHBA-2023:5666
Red Hat Ansible Automation Platform 2.4 for RHEL 9Fixed 2023-10-10RHBA-2023:5653
Red Hat Ansible Automation Platform 2.4 for RHEL 9ansible-automation-platform-24/ee-supported-rhel9:1.0.0-424Fixed 2023-10-12RHBA-2023:5666

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-4237.

Attack patterns (CAPEC)

  • CAPEC-170 Web Application Fingerprinting Likelihood: High · Severity: Low
  • CAPEC-694 System Location Discovery Likelihood: High · Severity: Very Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON