{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-5764","id":"CVE-2023-5764","title":"Ansible: template injection","description":"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.","descriptionLong":"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.","published":"2023-12-12T22:01:33.467Z","updated":"2026-11-07T17:27:06.435238242Z","reserved":"2023-10-25T10:27:46.601Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"redhat"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"redhat"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"redhat.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"}],"rating":"high","products":["Red Hat Ansible Automation Platform 2.4 for RHEL 8","Red Hat Ansible Automation Platform 2.4 for RHEL 9","Red Hat Ansible Automation Platform 1.2"],"affectedProducts":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","defaultStatus":"affected","versions":[{"version":"1:2.15.8-1.el8ap","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","defaultStatus":"affected","versions":[{"version":"1:2.15.8-1.el8ap","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 8","defaultStatus":"affected","versions":[{"version":"1:2.15.8-1.el8ap","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","defaultStatus":"affected","versions":[{"version":"1:2.15.8-1.el9ap","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","defaultStatus":"affected","versions":[{"version":"1:2.15.8-1.el9ap","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.4 for RHEL 9","defaultStatus":"affected","versions":[{"version":"1:2.15.8-1.el9ap","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 1.2","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible-core","purl":"pkg:pypi/ansible-core","ranges":[">=2.16.0 <2.16.1",">=2.15.0 <2.15.8","<2.14.12"],"fixed":["2.16.1","2.15.8","2.14.12"],"advisory":"GHSA-7j69-qfc3-2fq9"}],"cwes":["CWE-1336"],"aliases":["GHSA-7j69-qfc3-2fq9","PYSEC-2026-1122"],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:7773","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-5764","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2247629","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Patch","Vendor Advisory","report","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/","tags":["x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20241025-0001/","tags":["advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5764.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5764","tags":["advisory"]},{"url":"https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1","tags":["web"]},{"url":"https://github.com/ansible/ansible","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU","tags":["web"]},{"url":"https://pypi.org/project/ansible-core","tags":["package"]},{"url":"https://github.com/advisories/GHSA-7j69-qfc3-2fq9","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00574,"epssPercentile":0.4816,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-5764","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5764","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-5764","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7j69-qfc3-2fq9","ok":true,"note":"GHSA-7j69-qfc3-2fq9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-5764","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}