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.

Remediation

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.

Category

5.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.02%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com
Affected: Red Hat Ansible Automation Platform Execution Environments
Affected: Red Hat Ansible Automation Platform Execution Environments
Affected: Red Hat Ansible Automation Platform Execution Environments
Affected: Red Hat Ansible Automation Platform Execution Environments
Affected: Red Hat Ansible Automation Platform Execution Environments
Affected: Red Hat Discovery 1 for RHEL 9
Affected: Red Hat Discovery 1 for RHEL 9
Affected: Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8
Affected: Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9
Affected: Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8
Affected: Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9
Affected: Red Hat Red Hat Enterprise Linux AI (RHEL AI)
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-8775?
CVE-2024-8775 has been scored as a medium severity vulnerability.
How to fix CVE-2024-8775?
As a workaround for remediating CVE-2024-8775: 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.
Is CVE-2024-8775 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-8775 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-8775?
CVE-2024-8775 affects Red Hat Ansible Automation Platform Execution Environments, Red Hat Ansible Automation Platform Execution Environments, Red Hat Ansible Automation Platform Execution Environments, Red Hat Ansible Automation Platform Execution Environments, Red Hat Ansible Automation Platform Execution Environments, Red Hat Discovery 1 for RHEL 9, Red Hat Discovery 1 for RHEL 9, Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8, Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9, Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Red Hat Enterprise Linux AI (RHEL AI).
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.