CVE-2019-8341

Source
https://cve.org/CVERecord?id=CVE-2019-8341
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-8341.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-8341
Downstream
Related
Published
2019-02-15T07:29:00.257Z
Modified
2026-07-08T05:55:10.104832567Z
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": [
        {
            "source": "CPE_STRING",
            "extracted_events": [
                {
                    "introduced": "15.0"
                },
                {
                    "last_affected": "15.0"
                },
                {
                    "introduced": "42.3"
                },
                {
                    "last_affected": "42.3"
                }
            ],
            "cpes": [
                "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*"
            ],
            "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
{
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "2.10"
        },
        {
            "last_affected": "2.10"
        }
    ],
    "cpe": "cpe:2.3:a:pocoo:jinja2:2.10:*:*:*:*:*:*:*"
}

Affected versions

2.*
2.10
2.10.x

Database specific

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