Vulnerability · Published Sep 14, 2024 · Assigned by redhat
CVE-2024-8775Ansible-core: exposure of sensitive information in ansible vault files due to improper logging
Medium 5.5
In plain English
A medium-severity sensitive data in logs in ansible-core. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | 5.4.0-1 | DEBIAN-CVE-2024-8775 |
| Debian:13 | ansible | 5.4.0-1 | DEBIAN-CVE-2024-8775 |
| Debian:14 | ansible | 5.4.0-1 | DEBIAN-CVE-2024-8775 |
| Debian:12 | ansible-core | 2.14.18-0+deb12u1 | DEBIAN-CVE-2024-8775 |
| Debian:13 | ansible-core | 2.17.5-5 | DEBIAN-CVE-2024-8775 |
| Debian:14 | ansible-core | 2.17.5-5 | DEBIAN-CVE-2024-8775 |
| PyPI | ansible-core | 2.17.6 | GHSA-jpxc-vmjf-9fcj |
| PyPI | ansible-core | 2.16.13 | GHSA-jpxc-vmjf-9fcj |
| PyPI | ansible-core | 2.16.13, 2.17.6 | PYSEC-2026-1124 |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2024-8775 |
| Ubuntu:25.10 | ansible | no fix listed | UBUNTU-CVE-2024-8775 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2024-8775 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2024-8775 |
| Ubuntu:22.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2024-8775 |
| Ubuntu:24.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2024-8775 |
| Ubuntu:25.10 | ansible-core | no fix listed | UBUNTU-CVE-2024-8775 |
| Ubuntu:26.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2024-8775 |
| Ubuntu:26.10 | ansible-core | no fix listed | UBUNTU-CVE-2024-8775 |
Affected products (as reported)
Weakness: CWE-532 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- RHSA-2024:10762 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:8969 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:9894 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:1249 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-8775 vdb-entry, x_refsource_REDHAT
- RHBZ#2312119 issue-tracking, x_refsource_REDHAT
- https://github.com/advisories/GHSA-jpxc-vmjf-9fcj
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html