CVE-2024-8775
Ansible-core: exposure of sensitive information in ansible vault files due to improper logging
- State
- Published
- Severity
- 5.5 Medium
- Published
- Sep 14, 2024
- Updated
- Sep 17, 2026
- Reserved
- Sep 13, 2024
Description
A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.5 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | redhat |
Weaknesses
- CWE-532 Insertion of Sensitive Information into Log File
Affected Products
| Product | Versions |
|---|---|
ansible-core |
|
Ansible Automation Platform Execution EnvironmentsRed Hat |
|
Ansible Automation Platform Execution EnvironmentsRed Hat |
|
Ansible Automation Platform Execution EnvironmentsRed Hat |
|
Ansible Automation Platform Execution EnvironmentsRed Hat |
|
Ansible Automation Platform Execution EnvironmentsRed Hat |
|
Discovery 1 for RHEL 9Red Hat |
|
Discovery 1 for RHEL 9Red Hat |
|
Red Hat Ansible Automation Platform 2.4 for RHEL 8Red Hat |
|
Red Hat Ansible Automation Platform 2.4 for RHEL 9Red Hat |
|
Red Hat Ansible Automation Platform 2.5 for RHEL 8Red Hat |
|
Red Hat Ansible Automation Platform 2.5 for RHEL 9Red Hat |
|
Red Hat Enterprise Linux 10Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 9Red Hat | |
Red Hat Enterprise Linux AI (RHEL AI)Red Hat |
References
- RHSA-2024:10762vendor-advisory
- RHSA-2024:8969vendor-advisory
- RHSA-2024:9894vendor-advisory
- RHSA-2025:1249vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-8775vdb-entry
- RHBZ#2312119issue-tracking
- https://github.com/advisories/GHSA-jpxc-vmjf-9fcj
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.