Skip to content
Fencer Vulns
medium 5.5

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

  • ansible Azure Linux 3.0 2.17.11-1

azure linux advisories AZL-53163

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

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-test
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux 10 ansible-core
    affected: workaround, no fix available
  • Red Hat Enterprise Linux AI (RHEL AI) bootc-nvidia-rhel9
    affected: 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 more
    fixed: 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-1
    fixed: 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.el9ap
    fixed: 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.el9ap
    fixed: 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-test
    not 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

Sources

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.