{"id":"CVE-2019-8341","state":"PUBLISHED","title":"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, rende","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","publishedAt":"2019-02-15T07:00:00.000Z","updatedAt":"2024-08-04T21:17:30.550Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/JameelNabbo/Jinja2-Code-execution","https://www.exploit-db.com/exploits/46386/","http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html","http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html","https://bugzilla.redhat.com/show_bug.cgi?id=1677653","https://bugzilla.suse.com/show_bug.cgi?id=1125815"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:12.199Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/8xxx/CVE-2019-8341.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-8341","state":"PUBLISHED","datePublished":"2019-02-15T07:00:00.000Z","dateUpdated":"2024-08-04T21:17:30.550Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-02-15T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/JameelNabbo/Jinja2-Code-execution","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/46386/","name":"46386","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html","name":"openSUSE-SU-2019:1395","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html","name":"openSUSE-SU-2019:1614","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677653","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1125815","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-08-06T14:51:25.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2019-02-15T00:00:00.000Z","tags":["disputed"],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-8341","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED ** 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/JameelNabbo/Jinja2-Code-execution","refsource":"MISC","url":"https://github.com/JameelNabbo/Jinja2-Code-execution"},{"name":"46386","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/46386/"},{"name":"openSUSE-SU-2019:1395","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html"},{"name":"openSUSE-SU-2019:1614","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1677653","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677653"},{"name":"https://bugzilla.suse.com/show_bug.cgi?id=1125815","refsource":"CONFIRM","url":"https://bugzilla.suse.com/show_bug.cgi?id=1125815"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/JameelNabbo/Jinja2-Code-execution","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/46386/","name":"46386","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html","name":"openSUSE-SU-2019:1395","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html","name":"openSUSE-SU-2019:1614","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677653","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1125815","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T21:17:30.550Z"}}]}}}