Arbitrary Code Injection The advisory has been revoked - it doesn't affect any version of package python-Jinja2-emacs  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
43.87% (99th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES150-PYTHONJINJA2EMACS-2752653
  • published14 Apr 2022
  • disclosed6 May 2019

Introduced: 6 May 2019

CVE-2019-8341  (opens in a new tab)
CWE-94  (opens in a new tab)

Amendment

The SLES security team deemed this advisory irrelevant for SLES:15.0.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-Jinja2-emacs package and not the python-Jinja2-emacs package as distributed by SLES.

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