GHSA-ww3m-ffrm-qvqv
Ansible may expose private key
At a glance
- Published
- Updated
- CVE
- CVE-2023-4237
- Aliases
- PYSEC-2026-1125
- CVSS_V3
- CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
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 packages
| Package | Versions |
|---|---|
| PyPI · ansible-core | introduced 2.8.0, last affected 2.15.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-4237 ADVISORY
- https://access.redhat.com/errata/RHBA-2023:5653 WEB
- https://access.redhat.com/errata/RHBA-2023:5666 WEB
- https://access.redhat.com/security/cve/CVE-2023-4237 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2229979 WEB
- https://github.com/ansible/ansible PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |