CVE-2019-8341

Source
https://cve.org/CVERecord?id=CVE-2019-8341
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-8341.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-8341
Downstream
BELL (1)
DEBIAN (1)
ECHO (1)
openSUSE (1)
SUSE (6)
UBUNTU (1)
Related
Published
2019-02-15T07:29:00Z
Modified
2026-10-16T02:48:56Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "15.0"
                        },
                        {
                            "last_affected": "15.0"
                        },
                        {
                            "introduced": "42.3"
                        },
                        {
                            "last_affected": "42.3"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "opensuse:leap"
        }
    ]
}
References

Affected packages

Git / github.com/pallets/jinja

Affected ranges

Type
GIT
Repo
https://github.com/pallets/jinja
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:pocoo:jinja2:2.10:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "2.10"
                },
                {
                    "last_affected": "2.10"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}

Affected versions

2.*
2.10
2.10.x

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-8341.json"