CVE-2024-8775

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

State
Published
Severity
5.5 Medium
Published
Sep 14, 2024
Updated
Sep 17, 2026
Reserved
Sep 13, 2024

Read the record on cve.org

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

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Nredhat

Weaknesses

  • CWE-532 Insertion of Sensitive Information into Log File

Affected Products

ProductVersions
ansible-core
  • 1.0.0 through 2.17.4Affected
Ansible Automation Platform Execution EnvironmentsRed Hat
  • 1.2.0-91 and laterNot affected
Ansible Automation Platform Execution EnvironmentsRed Hat
  • 3.0.1-95 and laterNot affected
Ansible Automation Platform Execution EnvironmentsRed Hat
  • 2.9.27-32 and laterNot affected
Ansible Automation Platform Execution EnvironmentsRed Hat
  • 2.12.10-54 and laterNot affected
Ansible Automation Platform Execution EnvironmentsRed Hat
  • 2.15.12-17 and laterNot affected
Discovery 1 for RHEL 9Red Hat
  • 1.12.0-1 and laterNot affected
Discovery 1 for RHEL 9Red Hat
  • 1.12.0-1 and laterNot affected
Red Hat Ansible Automation Platform 2.4 for RHEL 8Red Hat
  • 1:2.15.13-1.el8ap and laterNot affected
Red Hat Ansible Automation Platform 2.4 for RHEL 9Red Hat
  • 1:2.15.13-1.el9ap and laterNot affected
Red Hat Ansible Automation Platform 2.5 for RHEL 8Red Hat
  • 1:2.16.13-1.el8ap and laterNot affected
Red Hat Ansible Automation Platform 2.5 for RHEL 9Red Hat
  • 1:2.16.13-1.el9ap and laterNot affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 8Red Hat
      Red Hat Enterprise Linux 9Red Hat
        Red Hat Enterprise Linux AI (RHEL AI)Red Hat

          References

          Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.