# CVE-2023-5764: ansible: A template injection flaw was found in Ansible where a user's controller internal templating operations may remove th...

CVE-2023-5764 is fixed in 3 products on 1 platform, first by ansible 2.5.1+dfsg-1ubuntu0.1+esm2, released December 12, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-5764
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0057
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 12, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ansible Debian 12.15 (bookworm) | 5.4.0-1 | [DEBIAN-CVE-2023-5764](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5764.md) | Dec 12, 2023 |
| Linux | ansible Debian 13.5 (trixie) | 5.4.0-1 | [DEBIAN-CVE-2023-5764](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5764.md) | Dec 12, 2023 |
| Linux | ansible Debian 14 | 5.4.0-1 | [DEBIAN-CVE-2023-5764](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5764.md) | Dec 12, 2023 |
| Linux | ansible Ubuntu 18.04.6 LTS (bionic) | 2.5.1+dfsg-1ubuntu0.1+esm2 | [ansible 2.5.1+dfsg-1ubuntu0.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ansible-2.5.1-dfsg-1ubuntu0.1-esm2.md) | Dec 12, 2023 |
| Linux | ansible Ubuntu 20.04 LTS (focal) | 2.9.6+dfsg-1ubuntu0.1~esm2 | [ansible 2.9.6+dfsg-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ansible-2.9.6-dfsg-1ubuntu0.1-esm2.md) | Dec 12, 2023 |
| Linux | ansible Ubuntu 22.04.1 LTS (jammy) | 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4 | [ansible 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ansible-2.10.7-merged-base-2.10.8-dfsg-1ubuntu0.1-esm4.md) | Dec 12, 2023 |
| Linux | ansible-core Debian 12.15 (bookworm) | 2.14.16-0+deb12u1 | [DEBIAN-CVE-2023-5764](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5764.md) | Dec 12, 2023 |
| Linux | ansible-core Debian 13.5 (trixie) | 2.14.13-1 | [DEBIAN-CVE-2023-5764](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5764.md) | Dec 12, 2023 |
| Linux | ansible-core Debian 14 | 2.14.13-1 | [DEBIAN-CVE-2023-5764](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5764.md) | Dec 12, 2023 |
| Linux | ansible-core amzn 2023 | 2.15.3-1.amzn2023.0.2 | [ALAS2023-2024-465](https://patchblox.com/security/data/fix/linux/alas2023-2024-465.md) | Jan 3, 2024 |
| Linux | ansible-test amzn 2023 | 2.15.3-1.amzn2023.0.2 | [ALAS2023-2024-465](https://patchblox.com/security/data/fix/linux/alas2023-2024-465.md) | Jan 3, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
