CVE-2019-8341: Code Injection

Published Feb 15, 2019
·
Updated

DISPUTED An issue was discovered in Jinja2 2.10. The fromstring 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.

Other sources

An issue was discovered in Jinja2 2.10. The fromstring 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.

Reference: https://github.com/JameelNabbo/Jinja2-Code-execution

Red Hat

Affected Software

3 affected components
Pocoo Jinja2=2.10
openSUSE Leap=15.0
openSUSE Leap=42.3

Event History

Feb 15, 2019
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
Description
Disputed
07:29 AM
Data Sourced
via NVD·07:29 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·01:46 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203