RHBA-2023:5653
Vulnerability from csaf_redhat - Published: 2023-10-10 21:19 - Updated: 2026-02-25 18:32A 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.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
|
Red Hat Ansible Automation Platform 2.4 for RHEL 8
Red Hat / Red Hat Ansible Automation Platform
|
cpe:/a:redhat:ansible_automation_platform:2.4::el8
|
— |
Vendor Fix
fix
|
|
Red Hat Ansible Automation Platform 2.4 for RHEL 9
Red Hat / Red Hat Ansible Automation Platform
|
cpe:/a:redhat:ansible_automation_platform:2.4::el9
|
— |
Vendor Fix
fix
|
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update is now available for Red Hat Ansible Automation Platform 2.4 Setup Bundle",
"title": "Topic"
},
{
"category": "general",
"text": "Red Hat Ansible Automation Platform provides an enterprise framework for building, deploying and managing IT automation at scale. IT Managers can provide top-down guidelines on how automation is applied to individual teams, while automation developers retain the freedom to write tasks that leverage existing knowledge without the overhead. Ansible Automation Platform makes it possible for users across an organization to share, vet, and manage automation content by means of a simple, powerful, and agentless language.\n\nSetup bundle 2.4-2.1 includes the updates released in the following advisories:\n\nRHBA-2023:5403\n* automation-controller 4.4.5\n* python3-galaxy-importer/python39-galaxy-importer 0.4.13\n\nRHBA-2023:5369\n* ansible-lint 6.14.3-2\n\nRHBA-2023:5506\n* python3-pulp-ansible/python39-pulp-ansible 0.17.5\n\nAdditional changes:\n* Updated amazon.aws certified collection to 6.4.0 (AAP-15138)",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHBA-2023:5653",
"url": "https://access.redhat.com/errata/RHBA-2023:5653"
},
{
"category": "external",
"summary": "https://access.redhat.com/errata/RHBA-2023:5403",
"url": "https://access.redhat.com/errata/RHBA-2023:5403"
},
{
"category": "external",
"summary": "https://access.redhat.com/errata/RHBA-2023:5369",
"url": "https://access.redhat.com/errata/RHBA-2023:5369"
},
{
"category": "external",
"summary": "https://access.redhat.com/errata/RHBA-2023:5506",
"url": "https://access.redhat.com/errata/RHBA-2023:5506"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhba-2023_5653.json"
}
],
"title": "Red Hat Bug Fix Advisory: Red Hat Ansible Automation Platform 2.4 Setup Bundle Release Update",
"tracking": {
"current_release_date": "2026-02-25T18:32:06+00:00",
"generator": {
"date": "2026-02-25T18:32:06+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.7.1"
}
},
"id": "RHBA-2023:5653",
"initial_release_date": "2023-10-10T21:19:31+00:00",
"revision_history": [
{
"date": "2023-10-10T21:19:31+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2023-10-10T21:19:31+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-02-25T18:32:06+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Ansible Automation Platform 2.4 for RHEL 8",
"product": {
"name": "Red Hat Ansible Automation Platform 2.4 for RHEL 8",
"product_id": "Red Hat Ansible Automation Platform 2.4 for RHEL 8",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:ansible_automation_platform:2.4::el8"
}
}
},
{
"category": "product_name",
"name": "Red Hat Ansible Automation Platform 2.4 for RHEL 9",
"product": {
"name": "Red Hat Ansible Automation Platform 2.4 for RHEL 9",
"product_id": "Red Hat Ansible Automation Platform 2.4 for RHEL 9",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:ansible_automation_platform:2.4::el9"
}
}
}
],
"category": "product_family",
"name": "Red Hat Ansible Automation Platform"
}
],
"category": "vendor",
"name": "Red Hat"
}
]
},
"vulnerabilities": [
{
"acknowledgments": [
{
"names": [
"Jill Rouleau"
],
"organization": "redhat"
}
],
"cve": "CVE-2023-4237",
"cwe": {
"id": "CWE-497",
"name": "Exposure of Sensitive System Information to an Unauthorized Control Sphere"
},
"discovery_date": "2023-08-08T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2229979"
}
],
"notes": [
{
"category": "description",
"text": "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\u0027s confidentiality, integrity, and availability.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "platform: ec2_key module prints out the private key directly to the standard output",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Ansible Automation Platform 2.4 for RHEL 8",
"Red Hat Ansible Automation Platform 2.4 for RHEL 9"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2023-4237"
},
{
"category": "external",
"summary": "RHBZ#2229979",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2229979"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2023-4237",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-4237"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2023-4237",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4237"
}
],
"release_date": "2023-08-08T11:15:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2023-10-10T21:19:31+00:00",
"details": "Red Hat Ansible Automation Platform",
"product_ids": [
"Red Hat Ansible Automation Platform 2.4 for RHEL 8",
"Red Hat Ansible Automation Platform 2.4 for RHEL 9"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHBA-2023:5653"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.3,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"Red Hat Ansible Automation Platform 2.4 for RHEL 8",
"Red Hat Ansible Automation Platform 2.4 for RHEL 9"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "platform: ec2_key module prints out the private key directly to the standard output"
}
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.