GitHub Advisoryadvisory · PyPI
GHSA-jpxc-vmjf-9fcj Ansible vulnerable to Insertion of Sensitive Information into Log File
HIGH
Official page ↗
- Aliases
- CVE-2024-8775
- Ecosystem
- PyPI
- Packages
- ansible-core
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-532
- Reviewed
- 2024-09-16
Affected packages
• PyPI ansible-core: >= 2.17.0b1, < 2.17.6 → fixed in 2.17.6
• PyPI ansible-core: < 2.16.13 → fixed in 2.16.13
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.
Related
Alias · CVE (1)
- CVE-2024-8775 A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of… vulnerability
Weakness · CWE (1)
- CWE-532 Insertion of Sensitive Information into Log File weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8775 advisory
- https://github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035 web
- https://access.redhat.com/errata/RHSA-2024:10762 web
- https://access.redhat.com/errata/RHSA-2024:8969 web
- https://access.redhat.com/errata/RHSA-2024:9894 web
- https://access.redhat.com/errata/RHSA-2025:1249 web
- https://access.redhat.com/security/cve/CVE-2024-8775 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2312119 web
- https://github.com/advisories/GHSA-jpxc-vmjf-9fcj advisory
- https://github.com/ansible/ansible package
- https://github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes web
- https://github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes web
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html web