Vulnerabilidades / CVE-2019-8341

crítica

CVE-2019-8341

python-jinja2: command injection in function from_string

Publicada Modificada CWE 94
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.2CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según Red Hat (alta).

Descripción

An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
debian 11jinja2sin corrección indicada
debian 12jinja2sin corrección indicada
debian 13jinja2sin corrección indicada
debian 14jinja2sin corrección indicada
echojinja21
rapidfort debian 12jinja2sin corrección indicada
rapidfort debian 13jinja2sin corrección indicada

Referencias

Las 9 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.