high7.1
CVE-2023-5764
Ansible template injection vulnerability
Impact
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 | Fixed in |
|---|---|---|---|
| pip | ansible-core | >= 2.16.0, < 2.16.1 | 2.16.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Ansible | before 2.14.12 from 2.15.0 before 2.15.7 Version 2.16.0 |
| Fedoraproject | Extra Packages For Enterprise Linux | Version 8.0 |
| Fedoraproject | Fedora | Versions 38, 39 |
| Redhat | Ansible Automation Platform | Version 2.4 |
| Redhat | Ansible Developer | Version 1.1 |
| Redhat | Ansible Inside | Version 1.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2023:7773
- https://access.redhat.com/security/cve/CVE-2023-5764
- https://bugzilla.redhat.com/show_bug.cgi?id=2247629
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/
- https://security.netapp.com/advisory/ntap-20241025-0001/
- https://github.com/advisories/GHSA-7j69-qfc3-2fq9
- https://nvd.nist.gov/vuln/detail/CVE-2023-5764
- https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f
- https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a
- https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU