Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ansible-core
  4. ›
  5. CVE-2024-8775

CVE-2024-8775: Ansible vulnerable to Insertion of Sensitive Information into Log File

September 16, 2024 (updated February 24, 2025)

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.

References

  • access.redhat.com/errata/RHSA-2024:10762
  • access.redhat.com/errata/RHSA-2024:8969
  • access.redhat.com/errata/RHSA-2024:9894
  • access.redhat.com/errata/RHSA-2025:1249
  • access.redhat.com/security/cve/CVE-2024-8775
  • bugzilla.redhat.com/show_bug.cgi?id=2312119
  • github.com/advisories/GHSA-jpxc-vmjf-9fcj
  • github.com/ansible/ansible
  • github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst
  • github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst
  • github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035
  • nvd.nist.gov/vuln/detail/CVE-2024-8775

Code Behaviors & Features

Detect and mitigate CVE-2024-8775 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.17.0b1 before 2.17.6, all versions before 2.16.13

Fixed versions

  • 2.17.6
  • 2.16.13

Solution

Upgrade to versions 2.16.13, 2.17.6 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

pypi/ansible-core/CVE-2024-8775.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.