VDB
KO
MEDIUM 5.5

GHSA-99w6-3xph-cx78

Ansible-Core vulnerable to content protections bypass

Details

A flaw was found in Ansible-Core. This vulnerability allows attackers to bypass unsafe content protections using the hostvars object to reference and execute templated content. This issue can lead to arbitrary code execution if remote data or module outputs are improperly templated within playbooks.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / ansible-core
Introduced in: 2.18.0b1 Fixed in: 2.18.1rc1
Fix pip install --upgrade 'ansible-core>=2.18.1rc1'
PyPI / ansible-core
Introduced in: 2.17.0b1 Fixed in: 2.17.7rc1
Fix pip install --upgrade 'ansible-core>=2.17.7rc1'
PyPI / ansible-core
Introduced in: 0 Fixed in: 2.16.14rc1
Fix pip install --upgrade 'ansible-core>=2.16.14rc1'

References