VDB

CVE-2023-5764

CVE-2023-5764 PUBLISHED CVSS 7.1 HIGH

Ansible: template injection

Reported by redhat · Published December 12, 2023

ansible-core is fixed in 2.16.1, 2.15.8 and 2.14.12 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ansible-corePyPI2.16.1, 2.15.8, 2.14.12
ansiblePyPI2.15.7, 2.14.12
ansibleredhat2.15.7, 2.14.12

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 81:2.15.8-1.el8ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 81:2.15.8-1.el8ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 81:2.15.8-1.el8ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 91:2.15.8-1.el9ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 91:2.15.8-1.el9ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 91:2.15.8-1.el9ap
Red HatRed Hat Ansible Automation Platform 1.2
Red HatRed Hat Ansible Automation Platform 1.2
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 81:2.15.8-1.el8ap
PyPIansible-core2.16.0, 2.15.0, 0
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 91:2.15.8-1.el9ap
PyPIansible0, 2.15.0, 2.16.0
amazon:2023ansible-test0
amazon:2023ansible-core0

Timeline

  • Nov 2, 2023 CVE Published
  • Dec 13, 2023 EPSS Score (30 in total, the first dated here)
  • Sep 16, 2024 CVE Updated
  • Oct 5, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Mar 9, 2026 Security Advisory (5 in total, the first dated here)
  • Nov 6, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-5764
vulnetix vdb fixes CVE-2023-5764

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-5764/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›