Skip to content
Fencer Intel
critical 9.8

CVE-2019-8341 in the critical feed json

An issue was discovered in Jinja2 2.10.

published 7y ago modified 4mo ago also EUVD-2019-17731

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
43.9%
EPSS 43.9% chance of exploitation in 30 days, percentile 98%
public exploits
1
Exploit-DB

Summary

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

Patch / fix

  • spark OpenStack Cloud Crowbar 9, OpenStack Cloud 9 2.2.3-5.3.3
  • grafana OpenStack Cloud Crowbar 9, OpenStack Cloud 9 6.7.4-3.20.1
  • influxdb OpenStack Cloud Crowbar 9, OpenStack Cloud 9 1.3.8-4.3.3
  • ardana-mq OpenStack Cloud 9 9.0+git.1605174486.a78ddce-3.19.2
  • crowbar-core OpenStack Cloud Crowbar 9 6.0+git.1606314264.bf9ada813-3.31.2
  • python-Jinja2 OpenStack Cloud Crowbar 9, OpenStack Cloud 9 2.10.1-3.3.3
  • python-pytest OpenStack Cloud Crowbar 9, OpenStack Cloud 9 3.7.4-3.3.3
  • ardana-tempest OpenStack Cloud 9 9.0+git.1603378983.fc0bca9-3.19.2

suse advisories SUSE-SU-2020:3897-1SUSE-SU-2020:3096-1SUSE-SU-2019:1554-1SUSE-SU-2019:1156-1

  • python-Jinja2 openSUSE Leap 15.0 2.10.1-lp150.2.3.1

opensuse advisories openSUSE-SU-2019:1395-1

Is CVE-2019-8341 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-8341 updated cvss 8.2

python-jinja2: command injection in function from_string

  • Red Hat Ceph Storage 2 python-jinja2 Red Hat Ceph Storage 3 python-jinja2 Red Hat Enterprise Linux 6 python-jinja2 Red Hat Enterprise Linux 7 python-jinja2 Red Hat Enterprise Linux 8 python-jinja2, python3-jinja2 Red Hat OpenStack Platform 13 (Queens) python2-jinja2
    +3 more products
    Red Hat OpenStack Platform 14 (Rocky) python2-jinja2 Red Hat Satellite 6 python-jinja2, python2-jinja2 Red Hat Storage 3 python-jinja2
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-46386)
  2. Published

Exploit prediction

43.87% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-46386 Jinja2 2.10 - 'from_string' Server Side Template Injection webapps, 2019-02-15

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.