Ansible-core: exposure of sensitive information in ansible vault files due to improper logging
Summary
| CVE | CVE-2024-8775 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-09-14 03:15:08 UTC |
| Updated | 2026-09-17 19:16:34 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.002710000 probability, percentile 0.195950000 (date 2026-09-18)
Problem Types: CWE-532 | CWE-532 Insertion of Sensitive Information into Log File
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | CVSS | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Ansible Automation Platform Execution Environments | unaffected 1.2.0-91 * rpm | Not specified |
| CNA | Red Hat | Ansible Automation Platform Execution Environments | unaffected 3.0.1-95 * rpm | Not specified |
| CNA | Red Hat | Ansible Automation Platform Execution Environments | unaffected 2.9.27-32 * rpm | Not specified |
| CNA | Red Hat | Ansible Automation Platform Execution Environments | unaffected 2.12.10-54 * rpm | Not specified |
| CNA | Red Hat | Ansible Automation Platform Execution Environments | unaffected 2.15.12-17 * rpm | Not specified |
| CNA | Red Hat | Discovery 1 For RHEL 9 | unaffected 1.12.0-1 * rpm | Not specified |
| CNA | Red Hat | Discovery 1 For RHEL 9 | unaffected 1.12.0-1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Ansible Automation Platform 2.4 For RHEL 8 | unaffected 1:2.15.13-1.el8ap * rpm | Not specified |
| CNA | Red Hat | Red Hat Ansible Automation Platform 2.4 For RHEL 9 | unaffected 1:2.15.13-1.el9ap * rpm | Not specified |
| CNA | Red Hat | Red Hat Ansible Automation Platform 2.5 For RHEL 8 | unaffected 1:2.16.13-1.el8ap * rpm | Not specified |
| CNA | Red Hat | Red Hat Ansible Automation Platform 2.5 For RHEL 9 | unaffected 1:2.16.13-1.el9ap * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux AI RHEL AI | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2024:8969 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2024-8775 | [email protected] | access.redhat.com | |
| github.com/advisories/GHSA-jpxc-vmjf-9fcj | [email protected] | github.com | |
| access.redhat.com/errata/RHSA-2024:9894 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:10762 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1249 | [email protected] | access.redhat.com | |
| lists.debian.org/debian-lts-announce/2024/11/msg00021.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-09-13T08:31:27.781Z | Reported to Red Hat. |
| CNA | 2024-09-13T08:35:00.000Z | Made public. |
Workarounds
CNA: 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.
There are currently no legacy QID mappings associated with this CVE.