CVE-2023-5764
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.1•MEDIUM•Score: 6.6CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS Trends
Current EPSS score: 0.07%• Percentile: 20%
Techniques & Countermeasures
- CWE-1336•Improper Neutralization of Special Elements Used in a Template Engine
The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.
Affected Systems
- fedoraproject•extra_packages_for_enterprise_linux
8.0
- fedoraproject•fedora
38 | 39
- PyPI•ansible-core
≥ 2.16.0, < 2.16.1 | ≥ 2.15.0, < 2.15.8 | < 2.14.12
- redhat•ansible
< 2.14.12 | ≥ 2.15.0, < 2.15.7 | 2.16.0 | 2.16.0:beta1 | 2.16.0:beta2 | 2.16.0:rc1
- redhat•ansible_automation_platform
2.4
- redhat•ansible_developer
1.1
- redhat•ansible_inside
1.2
References (11)
- https://access.redhat.com/errata/RHSA-2023:7773
- https://access.redhat.com/security/cve/CVE-2023-5764
- https://bugzilla.redhat.com/show_bug.cgi?id=2247629
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/
- https://security.netapp.com/advisory/ntap-20241025-0001/
- https://nvd.nist.gov/vuln/detail/CVE-2023-5764
- https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f
- https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a
- https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1
- https://github.com/ansible/ansible
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU