Platform: ec2_key module prints out the private key directly to the standard output (Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.25 % · percentile 17 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-497 — Exposure of Sensitive System Information to an Unauthorized Control Sphere
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-ww3m-ffrm-qvqv — Ansible may expose private key
- PYSEC-2026-1125 — Ansible may expose private key
European references
- ENISA EUVD · EUVD-2023-2834
- GCVE · GCVE-0-2023-4237
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:ansible_automation_platform:2.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:ansible_collection:*:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8 | |
| Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8 | unaffected 1.0.0-423 < * |
| Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9 | |
| Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9 | unaffected 1.0.0-424 < * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |