Skip to main content

Improper Neutralization of Special Elements Used in a Template Engine

CVE-2023-5764

Severity High
Score 7.8/10

Summary

A template injection flaw was found in ansible-core 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. This issue affects the versions through 2.14.11, 2.15.0b1 through 2.15.6, and 2.16.0b1 through 2.16.0.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • HIGH

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.

Advisory Timeline

  • Published