CWE
94
Advisory Published
Updated

CVE-2019-8341: Code Injection

First published: Fri Feb 15 2019(Updated: )

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

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Python Jinja2=2.10
SUSE Linux=15.0
SUSE Linux=42.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2019-8341?

    The severity of CVE-2019-8341 is classified as important due to its potential for Server Side Template Injection (SSTI).

  • How do I fix CVE-2019-8341?

    To fix CVE-2019-8341, update Jinja2 to version 2.10.1 or later, which addresses the Server Side Template Injection vulnerability.

  • What software is affected by CVE-2019-8341?

    CVE-2019-8341 affects Jinja2 version 2.10 and certain versions of openSUSE Leap, specifically 15.0 and 42.3.

  • What kind of attack can CVE-2019-8341 facilitate?

    CVE-2019-8341 allows attackers to perform Server Side Template Injection, enabling them to execute arbitrary commands by injecting template commands.

  • Is CVE-2019-8341 a widely recognized vulnerability?

    Yes, CVE-2019-8341 is a recognized vulnerability that has been reported and discussed within the cybersecurity community.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203