CVE-2019-8341

critical
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

** 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.

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

Details

Source: MITRE

Published: 2019-02-15

Updated: 2021-07-21

Type: CWE-94

Risk Information

CVSS v2

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:pocoo:jinja2:2.10:*:*:*:*:*:*:*

Tenable Plugins

View all (2 total)

IDNameProductFamilySeverity
126233openSUSE Security Update : python-Jinja2 (openSUSE-2019-1614)NessusSuSE Local Security Checks
critical
125022openSUSE Security Update : python-Jinja2 (openSUSE-2019-1395)NessusSuSE Local Security Checks
critical