CVE-2024-8775 json
Ansible-core: exposure of sensitive information in ansible vault files due to improper logging
published 2024-09-14 2 y ago modified 2026-11-05 3 d ago also GHSA-jpxc-vmjf-9fcj , PYSEC-2026-1124 , EUVD-2024-2826
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi ansible-core 2.16.13, 2.17.6
- Red Hat Ansible Automation Platform Execution Environments 1.2.0-91, 2.9.27-32, 2.12.10-54, 2.15.12-17, 3.0.1-95
- Red Hat Discovery 1 for RHEL 9 1.12.0-1
- Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8 1:2.15.13-1.el8ap
- Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9 1:2.15.13-1.el9ap
- Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 1:2.16.13-1.el8ap
- Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 1:2.16.13-1.el9ap
- ansible Debian 14, Debian 13, Debian 12 5.4.0-1
- ansible-core Debian 12 2.14.18-0+deb12u1
- ansible-core Debian 14, Debian 13 2.17.5-5
debian advisories DEBIAN-CVE-2024-8775
- ansible-core ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 1:2.15.13-1.el8ap
- ansible-core ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 1:2.15.13-1.el9ap
- automation-controller-venv-tower ansible automation platform 2.4 4.5.13-1.el8ap
- automation-controller-venv-tower ansible automation platform 2.4 4.5.13-1.el9ap
- ansible-core ansible automation platform inside 2.5, ansible automation platform developer 2.5, ansible automation platform 2.5 1:2.16.13-1.el8ap
- ansible-core ansible automation platform inside 2.5, ansible automation platform developer 2.5, ansible automation platform 2.5 1:2.16.13-1.el9ap
red hat advisories RHSA-2024:10762RHSA-2024:9894
- ansible openSUSE Leap 15.6, Manager Proxy Module 4.3, Manager Client Tools 15 2.9.27-150000.1.20.1
- spacewalk-client-tools Manager Client Tools 15 4.3.22-150000.3.100.1
- uyuni-proxy-systemd-services Manager Proxy Module 4.3, Manager Client Tools for SLE Micro 5, Manager Client Tools 15 4.3.15-150000.1.30.1
suse advisories SUSE-RU-2025:0791-1
- ansible-core-2.21 openSUSE Tumbleweed 2.21.6-1.1
- ansible-core-2.20 openSUSE Tumbleweed 2.20.6-1.1
- ansible-core-2.19 openSUSE Tumbleweed 2.19.4-1.1
- ansible-core-2.18 openSUSE Tumbleweed 2.18.10-2.1
- ansible-core-2.17 openSUSE Tumbleweed 2.17.6-1.1
- ansible-core openSUSE Tumbleweed 2.17.6-1.1
- ansible-core-2.16 openSUSE Tumbleweed 2.16.13-1.1
opensuse advisories openSUSE-SU-2026:12451-1openSUSE-SU-2026:10945-1openSUSE-SU-2025:15754-1openSUSE-SU-2025:15638-1openSUSE-SU-2024:14537-1openSUSE-SU-2024:14498-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-8775 updated cvss 5.5
ansible-core: Exposure of Sensitive Information in Ansible Vault Files Due to Improper Logging
-
Red Hat Enterprise Linux 8 ansible-core, ansible-testaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 10 ansible-coreaffected: workaround, no fix available
-
Red Hat Enterprise Linux AI (RHEL AI) bootc-nvidia-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Ansible Automation Platform Execution Environments ansible-automation-platform/ee-29-rhel8 2.9.27-32, ansible-automation-platform/ee-minimal-rhel8 2.17.6-1, ansible-automation-platform/ee-minimal-rhel8 2.18.0-1, ansible-automation-platform/ee-minimal-rhel9 2.17.6-2, ansible-automation-platform/ee-minimal-rhel9 2.18.0-2, ansible-automation-platform/ee-minimal-rhel8 2.16.13-1, +9 morefixed: vendor fix RHSA-2024:8969
-
Red Hat Discovery 1 for RHEL 9 discovery/discovery-ui-rhel9 1.12.0-1, discovery/discovery-server-rhel9 1.12.0-1fixed: vendor fix RHSA-2025:1249
-
Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-core 2.15.13-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-core 2.15.13-1.el9apfixed: vendor fix RHSA-2024:10762
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-core 2.16.13-1.el8ap Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-core 2.16.13-1.el9apfixed: vendor fix RHSA-2024:9894
-
Red Hat Ansible Automation Platform 2.4 for RHEL 8 receptor 1.5.1-1.el8ap, receptorctl 1.5.1-1.el8ap, ansible-test 2.15.13-1.el8ap, automation-controller 4.5.13-1.el8ap, automation-controller-ui 4.5.13-1.el8ap, automation-controller-cli 4.5.13-1.el8ap, +3 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 receptor 1.5.1-1.el9ap, receptorctl 1.5.1-1.el9ap, ansible-test 2.15.13-1.el9ap, automation-controller 4.5.13-1.el9ap, automation-controller-ui 4.5.13-1.el9ap, automation-controller-cli 4.5.13-1.el9ap, +3 more Red Hat Ansible Automation Platform 2.5 for RHEL 8 molecule 24.9.0-2.el8ap, ansible-test 2.16.13-1.el8ap, automation-gateway 2.5.3-2.el8ap, automation-gateway-config 2.5.3-2.el8ap, automation-gateway-server 2.5.3-2.el8ap, ansible-automation-platform-installer 2.5-5.el8ap Red Hat Ansible Automation Platform 2.5 for RHEL 9 molecule 24.9.0-2.el9ap, ansible-test 2.16.13-1.el9ap, automation-gateway 2.5.3-2.el9ap, automation-gateway-config 2.5.3-2.el9ap, automation-gateway-server 2.5.3-2.el9ap, ansible-automation-platform-installer 2.5-5.el9ap Red Hat Enterprise Linux 9 ansible-core, ansible-testnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ansible-core | >=2.17.0b1, <2.17.6 <2.16.13 |
2.17.6 2.16.13 |
Affected products
- Red Hat Ansible Automation Platform Execution Environments
- 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 10
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux AI (RHEL AI)
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
github.com
/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035
web
-
access.redhat.com
/errata/RHSA-2024:10762
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:8969
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:9894
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2025:1249
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2024-8775
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2312119
issue-tracking, web
-
github.com
/advisories/GHSA-jpxc-vmjf-9fcj
advisory
-
lists.debian.org
/debian-lts-announce/2024/11/msg00021.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-8775
advisory
-
github.com
/ansible/ansible
package
-
github.com
/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes
web
-
github.com
/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes
web
-
pypi.org
/project/ansible-core
package
Sources
- CVE List CVE-2024-8775
- GitHub Advisory GHSA-jpxc-vmjf-9fcj
- NVD CVE-2024-8775
- OSV PYSEC-2026-1124
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.