Ansible-core: exposure of sensitive information in ansible vault files due to improper logging (ansible-core)

CVE-2024-8775
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 19 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Nredhat
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · secalert@redhat.com (Secondary)

Advisories

European references

CERT-FR advisories

Affected products

ProductVersions
ansible-coreaffected 1.0.0 ≤ 2.17.4
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 1.2.0-91 < *
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 3.0.1-95 < *
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 2.9.27-32 < *
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 2.12.10-54 < *
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 2.15.12-17 < *
Red Hat · Discovery 1 for RHEL 9unaffected 1.12.0-1 < *
Red Hat · Discovery 1 for RHEL 9unaffected 1.12.0-1 < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8unaffected 1:2.15.13-1.el8ap < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9unaffected 1:2.15.13-1.el9ap < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8unaffected 1:2.16.13-1.el8ap < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9unaffected 1:2.16.13-1.el9ap < *
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)

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD