high7.3
CVE-2023-4237
Ansible may expose private key
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | ansible-core | >= 2.8.0, <= 2.15.2 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Ansible Automation Platform | Version 2.0 |
| Redhat | Ansible Collection | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHBA-2023:5653
- https://access.redhat.com/errata/RHBA-2023:5666
- https://access.redhat.com/security/cve/CVE-2023-4237
- https://bugzilla.redhat.com/show_bug.cgi?id=2229979
- https://security.netapp.com/advisory/ntap-20241025-0002/
- https://github.com/advisories/GHSA-ww3m-ffrm-qvqv
- https://nvd.nist.gov/vuln/detail/CVE-2023-4237