1. Archivio CVE
  2. 2023
  3. CVE-2023-5764

CVE-2023-5764

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
fedoraproject extra packages for enterprise linux 8.0 –
fedoraproject fedora 38 –
fedoraproject fedora 39 –
redhat ansible < 2.14.12 –
redhat ansible >= 2.15.0 < 2.15.7 –
redhat ansible 2.16.0 –
redhat ansible 2.16.0 beta1 –
redhat ansible 2.16.0 beta2 –
redhat ansible 2.16.0 rc1 –
redhat ansible automation platform 2.4 –
redhat ansible developer 1.1 –
redhat ansible inside 1.2 –
Tutte le 45 vulnerabilità di Redhat Ansible

Tipo di vulnerabilità

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.

Impatto sui sistemi

AmbitoImpatto
Integrità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione Choose a template engine that offers a sandbox or restricted mode, or at least limits the power of any available expressions, function calls, or commands.
Sviluppo Use the template engine's sandbox or restricted mode, if available.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 191 CVE di tipo CWE-1336, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org