Vulnerability · Published Dec 12, 2023 · Assigned by redhat

CVE-2023-5764Ansible: template injection

High 7.1

In plain English

A high-severity security flaw in Red Hat Ansible Automation Platform 1.2 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.6%top 52.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ansible5.4.0-1DEBIAN-CVE-2023-5764
Debian:13ansible5.4.0-1DEBIAN-CVE-2023-5764
Debian:14ansible5.4.0-1DEBIAN-CVE-2023-5764
Debian:12ansible-core2.14.16-0+deb12u1DEBIAN-CVE-2023-5764
Debian:13ansible-core2.14.13-1DEBIAN-CVE-2023-5764
Debian:14ansible-core2.14.13-1DEBIAN-CVE-2023-5764
PyPIansible-core2.16.1GHSA-7j69-qfc3-2fq9
PyPIansible-core2.15.8GHSA-7j69-qfc3-2fq9
PyPIansible-core2.14.12GHSA-7j69-qfc3-2fq9
PyPIansible-core2.14.12, 2.15.8, 2.16.1PYSEC-2026-1122
Ubuntu:22.04:LTSansible-coreno fix listedUBUNTU-CVE-2023-5764
Ubuntu:24.04:LTSansible-coreno fix listedUBUNTU-CVE-2023-5764
Ubuntu:25.10ansible-coreno fix listedUBUNTU-CVE-2023-5764
Ubuntu:26.04:LTSansible-coreno fix listedUBUNTU-CVE-2023-5764
Ubuntu:26.10ansible-coreno fix listedUBUNTU-CVE-2023-5764

Affected products (as reported)

Weakness: CWE-1336 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References