Medium [CVE-2024-8775] Ansible-core: exposure of sensitive information in ansible vault files due to improper logging
This medium-severity Red Hat Linux advisory covers CVE-2024-8775 affecting Ansible Automation Platform Execution Environments, Discovery 1 for RHEL 9, Red Hat Ansible Automation Platform 2.4 for RHEL 8.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
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.
This issue is classified as moderate rather than important because while it does expose sensitive information during playbook execution, the exposure is limited to logs and output generated during the run, which is typically accessible only to authorized users with sufficient privileges.
The flaw does not result in an immediate or direct compromise of systems, as no remote exploitation vector is introduced. Additionally, the risk can be mitigated through proper configuration (`no_log: true`) and access control measures, reducing the likelihood of unauthorized access to the logged data.
However, the unintentional disclosure of secrets like passwords or API keys still presents a potential risk for privilege escalation or lateral movement within an environment, justifying a moderate severity rating.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 13 days ago·verify at source
- ansible-automation-platform/ansible-builder-rhel8:1.2.0-91
- ansible-automation-platform/ansible-builder-rhel9:3.0.1-95
- ansible-automation-platform/ee-29-rhel8:2.9.27-32
- ansible-automation-platform/ee-minimal-rhel8:2.12.10-54
- ansible-automation-platform/ee-minimal-rhel9:2.15.12-17
- discovery/discovery-server-rhel9:1.12.0-1
- discovery/discovery-ui-rhel9:1.12.0-1
- ansible-core-1:2.15.13-1.el8ap
- ansible-core-1:2.15.13-1.el9ap
- ansible-core-1:2.16.13-1.el8ap
- ansible-core-1:2.16.13-1.el9ap
- RHSA-2024:8969
- RHSA-2025:1249
- RHSA-2024:10762
- RHSA-2024:9894
Official advisory · high-confidence parse· fetched 13 days ago·verify at source
Mitigation checklist
- 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.
Official advisory · high-confidence parse· fetched 13 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.