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
References
Configurations
History
No history.
Information
Published : 2019-02-15 07:29
Updated : 2024-11-21 04:49
NVD link : CVE-2019-8341
Mitre link : CVE-2019-8341
CVE.ORG link : CVE-2019-8341
JSON object : View
Products Affected
pocoo
- jinja2
opensuse
- leap
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')