Ansible: Template Injection via Unsafe Flag Removal in Controller (Jinja2)
CVE-2023-5764 Published on December 12, 2023
Ansible: template injection
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.
Vulnerability Analysis
CVE-2023-5764 is exploitable with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
Products Associated with CVE-2023-5764
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-5764 are published in these products:
Affected Versions
Red Hat Ansible Automation Platform 2.4 for RHEL 8:- Version 1:2.15.8-1.el8ap and below * is unaffected.
- Version 1:2.15.8-1.el8ap and below * is unaffected.
- Version 1:2.15.8-1.el9ap and below * is unaffected.
- Version 1:2.15.8-1.el9ap and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.