What’s Vulnerable › Vulnerabilities

CVE-2024-8775: Ansible-core: exposure of sensitive information in ansible vault files due to improper logging

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Ansible Automation Platform Execution Environments 1.2.0-91, 2.12.10-54, 2.15.12-17, 2.9.27-32; Red Hat Discovery 1 for RHEL 9 1.12.0-1; Red Hat Ansible Automation Platform 2.4 for RHEL 8 1:2.15.13-1.el8ap; Red Hat Ansible Automation Platform 2.4 for RHEL 9 1:2.15.13-1.el9ap; Red Hat Ansible Automation Platform 2.5 for RHEL 8 1:2.16.13-1.el8ap; Red Hat Ansible Automation Platform 2.5 for RHEL 9 1:2.16.13-1.el9ap. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-8775 or the next vulnerability affects your stack