{"id":"CVE-2023-5764","published":"2023-12-12T22:01:33Z","modified":"2026-11-05T11:36:18Z","title":"Ansible: template injection","vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00574,"percentile":0.48287,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:7773","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-5764","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2247629","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20241025-0001/","tags":[]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":9.66},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 1.2","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-07-19T03:55:28.216152Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"ansible-core","vulnerableRanges":[">=2.16.0, <2.16.1",">=2.15.0, <2.15.8","<2.14.12"],"patched":["2.16.1","2.15.8","2.14.12"],"from":["GHSA-7j69-qfc3-2fq9","PYSEC-2026-1122"],"provenance":"source"}],"summary":{"text":"A template injection flaw in Red Hat Ansible Automation Platform 2.4 for RHEL 8, within Ansible's controller internal templating operations, can cause template data to lose its unsafe designation. An attacker with local access and low privileges who can supply a specially crafted file used as templating data can inject template content, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:20Z"},"euvd":{"id":"EUVD-2023-3147","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-5764","published":"2023-12-12","fixed":"2.16.1","kev":false},{"cve":"CVE-2024-0690","published":"2024-02-06","fixed":"2.16.3","kev":false,"link":{"from":"CVE-2023-5764","to":"CVE-2024-0690","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible-core","fromFixed":"2.14.12","toFixed":"2.14.14","daysApart":56}]}},{"cve":"CVE-2024-8775","published":"2024-09-14","fixed":"2.17.6","kev":false},{"cve":"CVE-2024-9902","published":"2024-11-06","fixed":"2.18.0rc2","kev":false}],"package":"PyPI:ansible-core"}}