CVE-2024-8775
Ansible-core: exposure of sensitive information in ansible vault files due to improper logging
- Published
- Updated
- Reserved
- Assigned by
- redhat
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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Deferred | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.27% · top 81% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
ansible-core
- affected 1.0.0 – ≤ 2.17.4
Red Hat · Ansible Automation Platform Execution Environments
- unaffected 1.2.0-91 – < *
Red Hat · Ansible Automation Platform Execution Environments
- unaffected 3.0.1-95 – < *
Red Hat · Ansible Automation Platform Execution Environments
- unaffected 2.9.27-32 – < *
Red Hat · Ansible Automation Platform Execution Environments
- unaffected 2.12.10-54 – < *
Red Hat · Ansible Automation Platform Execution Environments
- unaffected 2.15.12-17 – < *
Red Hat · Discovery 1 for RHEL 9
- unaffected 1.12.0-1 – < *
Red Hat · Discovery 1 for RHEL 9
- unaffected 1.12.0-1 – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8
- unaffected 1:2.15.13-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8
- unaffected 1:2.15.13-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8
- unaffected 1:2.15.13-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9
- unaffected 1:2.15.13-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9
- unaffected 1:2.15.13-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9
- unaffected 1:2.15.13-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8
- unaffected 1:2.16.13-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8
- unaffected 1:2.16.13-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8
- unaffected 1:2.16.13-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9
- unaffected 1:2.16.13-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9
- unaffected 1:2.16.13-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9
- unaffected 1:2.16.13-1.el9ap – < *
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 8
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: unaffected
Red Hat · Red Hat Enterprise Linux AI (RHEL AI)
All versions: affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIansible-coreGHSA-jpxc-vmjf-9fcj (opens in a new tab)
What to do
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (8)
- RHSA-2024:10762 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8969 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9894 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1249 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-8775 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2312119 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/advisories/GHSA-jpxc-vmjf-9fcj (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jpxc-vmjf-9fcj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-8775)Record last updated .