Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ansible-core
  4. ›
  5. CVE-2023-5764

CVE-2023-5764: Ansible template injection vulnerability

December 13, 2023 (updated September 16, 2024)

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.

References

  • access.redhat.com/errata/RHSA-2023:7773
  • access.redhat.com/security/cve/CVE-2023-5764
  • bugzilla.redhat.com/show_bug.cgi?id=2247629
  • github.com/advisories/GHSA-7j69-qfc3-2fq9
  • github.com/ansible/ansible
  • github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f
  • github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a
  • github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU
  • nvd.nist.gov/vuln/detail/CVE-2023-5764

Code Behaviors & Features

Detect and mitigate CVE-2023-5764 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.14.12, all versions starting from 2.15.0 before 2.15.8, all versions starting from 2.16.0 before 2.16.1

Fixed versions

  • 2.16.1
  • 2.15.8
  • 2.14.12

Solution

Upgrade to versions 2.14.12, 2.15.8, 2.16.1 or above.

Impact 7.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

pypi/ansible-core/CVE-2023-5764.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:40 +0000.