VDB
KO
MEDIUM 5.5

GHSA-jpxc-vmjf-9fcj

Ansible vulnerable to Insertion of Sensitive Information into Log File

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / ansible-core
Introduced in: 2.17.0b1 Fixed in: 2.17.6
Fix pip install --upgrade 'ansible-core>=2.17.6'
PyPI / ansible-core
Introduced in: 0 Fixed in: 2.16.13
Fix pip install --upgrade 'ansible-core>=2.16.13'

References