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

CVE-2023-5764: Improper Neutralization of Special Elements Used in a Template Engine

December 12, 2023 (updated January 1, 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 code 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
  • 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.7, version 2.16.0

Fixed versions

  • 3.0.0

Solution

Upgrade to version 3.0.0 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

Source file

pypi/ansible/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:36 +0000.