CVE-2019-8341
python-jinja2: command injection in function from_string
Sévérité par source
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
| Source | Paquet | Corrigé en |
|---|---|---|
| debian 11 | jinja2 | pas de correctif indiqué |
| debian 12 | jinja2 | pas de correctif indiqué |
| debian 13 | jinja2 | pas de correctif indiqué |
| debian 14 | jinja2 | pas de correctif indiqué |
| echo | jinja2 | 1 |
| rapidfort debian 12 | jinja2 | pas de correctif indiqué |
| rapidfort debian 13 | jinja2 | pas de correctif indiqué |
Références
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html
- https://access.redhat.com/security/cve/CVE-2019-8341
- https://bugzilla.redhat.com/show_bug.cgi?id=1677653
- https://bugzilla.suse.com/show_bug.cgi?id=1125815
- https://github.com/JameelNabbo/Jinja2-Code-execution
- https://nvd.nist.gov/vuln/detail/CVE-2019-8341
- https://www.cve.org/CVERecord?id=CVE-2019-8341