Critical severity · published Feb 15, 2019
CVE-2019-8341
An issue was discovered in Jinja2 2.10
9.8
CVSS
43.9%
EPSS
No
On KEV
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
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)43.9% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JI
Jinja2 · Pocoo
2.10 · source: NVD
LE
Leap · Opensuse
15.0; 42.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-8341
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-8341
Mailing List
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html
Mailing List
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=1677653
Issue Tracking
https://bugzilla.suse.com/show_bug.cgi?id=1125815
Broken Link
https://github.com/JameelNabbo/Jinja2-Code-execution
Exploit
https://www.exploit-db.com/exploits/46386/
More from Leap
9.8
CVE-2020-16846
SaltStack Salt Shell Injection Vulnerability
9.8
CVE-2020-12641
Roundcube Webmail Remote Code Execution Vulnerability
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-1938
Apache Tomcat Improper Privilege Management Vulnerability
9.8
CVE-2016-3427
Oracle Java SE and JRockit Unspecified Vulnerability
