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
Link | Resource |
---|---|
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html | Mailing List Third Party Advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html | Mailing List Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1677653 | Issue Tracking Third Party Advisory |
https://bugzilla.suse.com/show_bug.cgi?id=1125815 | Issue Tracking Third Party Advisory |
https://github.com/JameelNabbo/Jinja2-Code-execution | Broken Link |
https://www.exploit-db.com/exploits/46386/ | Exploit Third Party Advisory VDB Entry |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2019-02-15T07:00:00
Updated: 2019-08-06T14:51:25
Reserved: 2019-02-15T00:00:00
Link: CVE-2019-8341
JSON object: View
NVD Information
Status : Modified
Published: 2019-02-15T07:29:00.257
Modified: 2024-05-17T01:39:19.970
Link: CVE-2019-8341
JSON object: View
Redhat Information
No data.
CWE