7.8
CWE
1336
EPSS
0.042%
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2023-5764: Ansible: template injection

First published: Thu Nov 02 2023(Updated: )

A flaw was found in Ansible, where a user's controller is vulnerable to template injection when internal templating operations may errantly remove the unsafe designation from template data.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
debian/ansible<=2.10.7+merged+base+2.10.17+dfsg-0+deb11u1
7.7.0+dfsg-3+deb12u1
10.1.0+dfsg-1
debian/ansible-core
2.14.16-0+deb12u1
2.17.1-1
2.17.3-1
pip/ansible-core<2.14.12
2.14.12
pip/ansible-core>=2.15.0<2.15.8
2.15.8
pip/ansible-core>=2.16.0<2.16.1
2.16.1
Red Hat Ansible<2.14.12
Red Hat Ansible>=2.15.0<2.15.7
Red Hat Ansible=2.16.0
Red Hat Ansible=2.16.0-beta1
Red Hat Ansible=2.16.0-beta2
Red Hat Ansible=2.16.0-rc1
Fedora EPEL=8.0
Red Hat Fedora=38
Red Hat Fedora=39
All of
Any of
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
Any of
Red Hat Ansible Automation Platform=2.4
Red Hat Ansible Developer=1.1
Red Hat Ansible Inside=1.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-5764?

    The severity of CVE-2023-5764 is categorized as medium due to the potential for template injection.

  • How do I fix CVE-2023-5764?

    To fix CVE-2023-5764, upgrade to Ansible version 2.10.8 or later, or an appropriate patched version as listed in the remediation guide.

  • Which versions are affected by CVE-2023-5764?

    CVE-2023-5764 affects several versions of Ansible, specifically those prior to 2.10.8 and certain versions of Ansible-Core.

  • What is template injection in the context of CVE-2023-5764?

    Template injection in CVE-2023-5764 refers to a flaw whereby unsafe template data could be executed, leading to potential unauthorized actions.

  • Are all distributions of Ansible affected by CVE-2023-5764?

    No, not all distributions of Ansible are affected; the vulnerability primarily impacts specific versions from Debian, Red Hat, and Fedora.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203