CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019

CVE-2019-8341
Pocoo Jinja2 vulnerability

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

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Jinja2, Leap. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Pocoo Jinja2 runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.