cve.bz

CVE-2023-5764

7.8 highEPSS 0.6%Fix available

High (7.8). EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in ansible-core 2.14.12, 2.15.8, 2.16.1.

On this page
A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-07-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-5764 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5764?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5764?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5764 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform 2.4 for RHEL 81:2.15.8-1.el8ap
Red Hat Ansible Automation Platform 2.4 for RHEL 91:2.15.8-1.el9ap

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7j69-qfc3-2fq9PyPIansible-core>=2.16.0 <2.16.12.16.1
GHSA-7j69-qfc3-2fq9PyPIansible-core>=2.15.0 <2.15.82.15.8
GHSA-7j69-qfc3-2fq9PyPIansible-core<2.14.122.14.12
PYSEC-2026-1122PyPIansible-core<2.14.12
>=2.15.0 <2.15.8
>=2.16.0 <2.16.1
2.14.12, 2.15.8, 2.16.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ansible-core2.14.16-0+deb12u1DEBIAN-CVE-2023-5764
Debian12, 13, 14ansible5.4.0-1DEBIAN-CVE-2023-5764
Debian13, 14ansible-core2.14.13-1DEBIAN-CVE-2023-5764
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 moreansible-coreno fix listedUBUNTU-CVE-2023-5764
UbuntuPro:16.04:LTSansible2.0.0.2-2ubuntu1.3+esm2UBUNTU-CVE-2023-5764 USN-6846-1
UbuntuPro:18.04:LTSansible2.5.1+dfsg-1ubuntu0.1+esm2UBUNTU-CVE-2023-5764 USN-6846-1
UbuntuPro:20.04:LTSansible2.9.6+dfsg-1ubuntu0.1~esm2UBUNTU-CVE-2023-5764 USN-6846-1
UbuntuPro:22.04:LTSansible2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4UBUNTU-CVE-2023-5764 USN-6846-1
Red Hatansible_automation_platform:2.4::el8python39-galaxy-importer, python3x-galaxy-importer0:0.4.18-1.el8apRHSA-2023:7773
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8ansible-core1:2.15.8-1.el8apRHSA-2023:7773
Red Hatansible_automation_platform:2.4::el9python-galaxy-importer, python3-galaxy-importer0:0.4.18-1.el9apRHSA-2023:7773
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9ansible-core1:2.15.8-1.el9apRHSA-2023:7773
SUSELinux Enterprise Module for Package Hub 15 SP5golang-github-prometheus-promu0.14.0-150000.3.18.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15POS_Image-JeOS7, POS_Image-Graphical70.1.1710765237.46af599-150000.1.21.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15grafana9.5.18-150000.1.63.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15mgr-daemon4.3.9-150000.1.47.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15spacecmd4.3.27-150000.3.116.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15spacewalk-client-tools4.3.19-150000.3.89.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15spacewalk-koan4.3.6-150000.3.33.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15uyuni-common-libs4.3.10-150000.1.39.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5dracut-saltboot0.1.1710765237.46af599-150000.1.53.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5, Manager Proxy Module 4.3uyuni-proxy-systemd-services4.3.12-150000.1.21.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15, Manager Proxy Module 4.3ansible2.9.27-150000.1.17.2SUSE-SU-2024:1509-1
SUSEManager Client Tools 15-BETAPOS_Image-JeOS7, POS_Image-Graphical70.1.1710765237.46af599-159000.3.24.2SUSE-SU-2024:1427-1
8 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5POS_Image-JeOS7, POS_Image-Graphical70.1.1710765237.46af599-150000.1.21.2SUSE-SU-2024:1509-1
openSUSELeap 15.5ansible2.9.27-150000.1.17.2SUSE-SU-2024:1509-1
openSUSELeap 15.5dracut-saltboot0.1.1710765237.46af599-150000.1.53.2SUSE-SU-2024:1509-1
openSUSELeap 15.5golang-github-prometheus-promu0.14.0-150000.3.18.2SUSE-SU-2024:1509-1
openSUSELeap 15.5spacecmd4.3.27-150000.3.116.2SUSE-SU-2024:1509-1
openSUSETumbleweedansible-core2.16.9-1.1openSUSE-SU-2024:14251-1
openSUSETumbleweedansible-core-2.172.17.6-1.1openSUSE-SU-2024:14537-1
openSUSETumbleweedansible-core-2.182.18.10-2.1openSUSE-SU-2025:15638-1
openSUSETumbleweedansible-core-2.192.19.4-1.1openSUSE-SU-2025:15754-1
openSUSETumbleweedansible-core-2.202.20.6-1.1openSUSE-SU-2026:10945-1
openSUSETumbleweedansible-core-2.212.21.6-1.1openSUSE-SU-2026:12451-1
openSUSETumbleweedansible-documentation2.15.7-1.1openSUSE-SU-2024:13486-1
Azure Linux2ansible2.14.12-2AZL-32158
Azure Linux3ansible2.17.0-1AZL-34538

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.4 for RHEL 8ansible-core-1:2.15.8-1.el8apFixed 2023-12-13RHSA-2023:7773
Red Hat Ansible Automation Platform 2.4 for RHEL 9ansible-core-1:2.15.8-1.el9apFixed 2023-12-13RHSA-2023:7773
Red Hat Ansible Automation Platform 1.2ansibleAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5764.

References

Check your stackJSON