Vulnerability Details : CVE-2019-8341
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
Products affected by CVE-2019-8341
- cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
- cpe:2.3:a:pocoo:jinja2:2.10:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-8341
3.49%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 92 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-8341
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2019-8341
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-8341
-
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html
[security-announce] openSUSE-SU-2019:1614-1: important: Security updateMailing List;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1677653
1677653 – (CVE-2019-8341) CVE-2019-8341 python-jinja2: command injection in function from_stringIssue Tracking;Third Party Advisory
-
https://bugzilla.suse.com/show_bug.cgi?id=1125815
Bug 1125815 – VUL-0: CVE-2019-8341: python-Jinja2: command injection in function from_stringIssue Tracking;Third Party Advisory
-
https://www.exploit-db.com/exploits/46386/
Jinja2 2.10 - 'from_string' Server Side Template InjectionExploit;Third Party Advisory;VDB Entry
-
https://github.com/JameelNabbo/Jinja2-Code-execution
Page not found · GitHub · GitHubBroken Link
-
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html
[security-announce] openSUSE-SU-2019:1395-1: important: Security updateMailing List;Third Party Advisory
Jump to