Vulnérabilités / CVE-2019-8341

critique

CVE-2019-8341

python-jinja2: command injection in function from_string

Publiée Modifiée CWE 94
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon Red Hat (élevée).

Description

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

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
debian 11jinja2pas de correctif indiqué
debian 12jinja2pas de correctif indiqué
debian 13jinja2pas de correctif indiqué
debian 14jinja2pas de correctif indiqué
echojinja21
rapidfort debian 12jinja2pas de correctif indiqué
rapidfort debian 13jinja2pas de correctif indiqué

Références

Les 9 références

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.