CVE-2023-4237
HIGH 7.8CVSS 3.1Ansible may expose private key
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.
- Published
- 4 Oct 2023
- Last modified
- 10 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-497
- Also known as
- GHSA-ww3m-ffrm-qvqvPYSEC-2026-1125
- Sources
- NVDJSONOSV GHSA-ww3m-ffrm-qvqvJSONOSV PYSEC-2026-1125JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | 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 | secalert@redhat.com (Secondary) | 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 |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_automation_platformcpe:2.3:a:redhat:ansible_automation_platform:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | redhat | ansible_collectioncpe:2.3:a:redhat:ansible_collection:*:*:*:*:*:*:*:* |
all versions | |
| OSV | PyPI | ansible-core | >= 2.8.0, <= 2.15.2 |
References
- 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 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2229979 · Issue Tracking, Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20241025-0002/
- https://nvd.nist.gov/vuln/detail/CVE-2023-4237 · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://pypi.org/project/ansible-core · PACKAGE
- https://github.com/advisories/GHSA-ww3m-ffrm-qvqv · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 4 Oct 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Oct 2023)