Ubuntu CVE Tracker
UBUNTU-CVE-2023-5764
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | ansible | All versions before 2.0.0.2-2ubuntu1.3+esm2 (fixed in 2.0.0.2-2ubuntu1.3+esm2) |
| Ubuntu:Pro:18.04:LTS | ansible | All versions before 2.5.1+dfsg-1ubuntu0.1+esm2 (fixed in 2.5.1+dfsg-1ubuntu0.1+esm2) |
| Ubuntu:Pro:20.04:LTS | ansible | All versions before 2.9.6+dfsg-1ubuntu0.1~esm2 (fixed in 2.9.6+dfsg-1ubuntu0.1~esm2) |
| Ubuntu:22.04:LTS | ansible-core | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | ansible | All versions before 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4 (fixed in 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4) |
| Ubuntu:24.04:LTS | ansible-core | All versions, no fix listed |
| Ubuntu:25.10 | ansible-core | All versions, no fix listed |
| Ubuntu:26.10 | ansible-core | All versions, no fix listed |
| Ubuntu:26.04:LTS | ansible-core | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2023-5764
- https://bugzilla.redhat.com/show_bug.cgi?id=2247629
- https://github.com/ansible/ansible/pull/82293
- https://github.com/ansible/ansible/pull/82294
- https://github.com/ansible/ansible/pull/82295
- https://www.cve.org/CVERecord?id=CVE-2023-5764
- https://ubuntu.com/security/notices/USN-6846-1