CVSS 3.1
8.6 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NHigh (8.6). EPSS 3.6% estimated probability of exploitation activity in the next 30 days. Fixed in jinja2 2.10.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:Njinja2 (PyPI): fixed in 2.10.1Explain CVE-2019-10906 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-10906?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-10906?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-10906 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| palletsprojects:jinja | before 2.10.1 |
| fedoraproject:fedora | 28 |
| fedoraproject:fedora | 29 |
| fedoraproject:fedora | 30 |
| canonical:ubuntu_linux | 12.04 |
| canonical:ubuntu_linux | 14.04 |
| canonical:ubuntu_linux | 16.04 |
| canonical:ubuntu_linux | 18.04 |
| canonical:ubuntu_linux | 18.10 |
| canonical:ubuntu_linux | 19.04 |
| redhat:software_collections | 1.0 |
| opensuse:leap | 15.0 |
| opensuse:leap | 42.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-462w-v97r-4m45 | PyPI | jinja2 | <2.10.1 | 2.10.1 |
| PYSEC-2019-217 | PyPI | jinja2 | <2.10.1 | 2.10.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | jinja2 | 2.10-2 | DEBIAN-CVE-2019-10906 |
| Ubuntu | 16.04:LTS | jinja2 | 2.8-1ubuntu0.1 | UBUNTU-CVE-2019-10906 USN-4011-1 |
| Ubuntu | 18.04:LTS | jinja2 | 2.10-1ubuntu0.18.04.1 | UBUNTU-CVE-2019-10906 USN-4011-1 |
| Ubuntu | Pro:14.04:LTS | jinja2 | 2.7.2-2ubuntu0.1~esm1 | UBUNTU-CVE-2019-10906 USN-4011-2 |
| Red Hat | enterprise_linux:8::appstream | python-jinja2, python3-jinja2 | 0:2.10.1-2.el8_0 | RHSA-2019:1152 |
| Red Hat | rhel_software_collections:3::el6 | rh-python35-python-jinja2 | 0:2.8.1-2.el6 | RHSA-2019:1237 |
| Red Hat | rhel_software_collections:3::el6 | rh-python36-python-jinja2 | 0:2.9.6-3.el6 | RHSA-2019:1329 |
| Red Hat | rhel_software_collections:3::el7 | rh-python35-python-jinja2 | 0:2.8.1-2.el7 | RHSA-2019:1237 |
| Red Hat | rhel_software_collections:3::el7 | rh-python36-python-jinja2 | 0:2.9.6-3.el7 | RHSA-2019:1329 |
| Red Hat | satellite:6.6::el7 | createrepo_c, createrepo_c-libs, createrepo_c-debuginfo and 1 more | 0:0.7.4-1.el7sat | RHSA-2019:3172 |
| Red Hat | satellite:6.6::el7 | foreman, foreman-cli, foreman-ec2 and 10 more | 0:1.22.0.32-1.el7sat | RHSA-2019:3172 |
| Red Hat | satellite:6.6::el7 | pcp-mmvstatsd | 0:0.4-2.el7sat | RHSA-2019:3172 |
| Red Hat | satellite:6.6::el7 | qpid-cpp, qpid-qmf, qpid-tools and 6 more | 0:1.36.0-28.el7amq | RHSA-2019:3172 |
| Red Hat | satellite:6.6::el7 | rhel8-kickstart-setup | 0:0.0.2-1.el7sat | RHSA-2019:3172 |
| Red Hat | satellite:6.6::el7 | rubygem-bundler_ext, tfm-ror52-rubygem-globalid | 0:0.4.1-3.el7sat | RHSA-2019:3172 |
| Red Hat | satellite:6.6::el7 | rubygem-faraday, tfm-rubygem-faraday | 0:0.15.4-1.el7sat | RHSA-2019:3172 |
| 193 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 4, Enterprise Storage 5, Linux Enterprise Point of Sale 12 SP2 and 5 more | python-Jinja2 | 2.8-22.8.1 | SUSE-SU-2019:1554-1 |
| SUSE | Linux Enterprise Module for Advanced Systems Management 12, Linux Enterprise Module for Public Cloud 12, Manager Client Tools 12 | python-Jinja2 | 2.8-19.20.1 | SUSE-SU-2020:3096-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 | python-Jinja2 | 2.10.1-3.5.1 | SUSE-SU-2019:1156-1 |
| SUSE | OpenStack Cloud 9 | ardana-cassandra | 9.0+git.1600802664.7e480a2-3.6.2 | SUSE-SU-2020:3897-1 |
| SUSE | OpenStack Cloud 9 | ardana-mq | 9.0+git.1605174486.a78ddce-3.19.2 | SUSE-SU-2020:3897-1 |
| SUSE | OpenStack Cloud 9 | ardana-osconfig | 9.0+git.1601621747.a87e5a0-3.22.2 | SUSE-SU-2020:3897-1 |
| SUSE | OpenStack Cloud 9 | ardana-tempest | 9.0+git.1603378983.fc0bca9-3.19.2 | SUSE-SU-2020:3897-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-barbican | 7.0.1~dev24-3.21.2 | SUSE-SU-2020:3897-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-cinder | 13.0.10~dev20-3.24.2 | SUSE-SU-2020:3897-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-designate | 7.0.2~dev2-3.21.2 | SUSE-SU-2020:3897-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-glance | 17.0.1~dev30-3.19.2 | SUSE-SU-2020:3897-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-heat | 11.0.4~dev4-3.21.2 | SUSE-SU-2020:3897-1 |
| 33 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.0 | python-Jinja2 | 2.10.1-lp150.2.3.1 | openSUSE-SU-2019:1395-1 |
| openSUSE | Tumbleweed | python-Jinja2 | 3.0.1-3.2 | openSUSE-SU-2024:11208-1 |
| openSUSE | Tumbleweed | python-Jinja2 | 3.1.4-1.1 | openSUSE-SU-2024:13930-1 |
| openSUSE | Tumbleweed | python-Jinja2 | 3.1.6-2.4 | openSUSE-SU-2026:11992-1 |
| Rocky Linux | 8 | python-jinja2 | 0:2.10.1-2.el8_0 | RLSA-2019:1152 |
| Azure Linux | 3 | nodejs | 20.14.0-1 | AZL-41949 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
Red Hat Virtualization Management Appliance includes python-jinja2 as a dependency of ovirt-engine-backend, which only uses it with controlled format strings that are not exploitable.
Red Hat Satellite 6 will receive fixes through the underlying Red Hat Enterprise Linux, so it won't issue updates to its own affected package.
This issue does not affect versions of python-jinja2 as shipped with:
* Red Hat Enterprise Linux 6, and 7 as python2 does not support str.format_map.
* Red Hat Update Infrastructure as it does not use the Sandbox feature, nor does it allow untrusted jinja2 templates.
* Red Hat Ceph Storage 2, 3 and Red Hat Gluster Storage 3 as python2 does not support str.format_map.
* Red Hat OpenStack Platform 13 or 14 as python2 does not support str.format_map.
If you cannot upgrade python-Jinja2, you can override the `is_safe_attribute` method on the sandbox and explicitly disallow the `format_map` method on string objects.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python-jinja2-0:2.10.1-2.el8_0 | Fixed 2019-05-13 | RHSA-2019:1152 |
| Red Hat Satellite 6.6 for RHEL 7 | ansiblerole-foreman_scap_client-0:0.0.3-1.el7sat | Fixed 2019-10-22 | RHSA-2019:3172 |
| Red Hat Satellite 6.6 for RHEL 7 | ansiblerole-insights-client-0:1.6-2.el7sat | Fixed 2019-10-22 | RHSA-2019:3172 |
| Red Hat Satellite 6.6 for RHEL 7 | ansible-runner-0:1.3.4-2.el7ar | Fixed 2019-10-22 | RHSA-2019:3172 |
| Red Hat Satellite 6.6 for RHEL 7 | candlepin-0:2.6.9-1.el7sat | Fixed 2019-10-22 | RHSA-2019:3172 |
| Red Hat Satellite 6.6 for RHEL 7 | createrepo_c-0:0.7.4-1.el7sat | Fixed 2019-10-22 | RHSA-2019:3172 |
| Red Hat Satellite 6.6 for RHEL 7 | foreman-0:1.22.0.32-1.el7sat | Fixed 2019-10-22 | RHSA-2019:3172 |
| Red Hat Satellite 6.6 for RHEL 7 | foreman-bootloaders-redhat-0:201901011200-1.el7sat | Fixed 2019-10-22 | RHSA-2019:3172 |
| Red Hat Satellite 6.6 for RHEL 7 | foreman-discovery-image-0:3.5.4-6 | Fixed 2019-10-22 | RHSA-2019:3172 |
| Red Hat Satellite 6.6 for RHEL 7 | foreman-installer-1:1.22.0.16-1.el7sat | Fixed 2019-10-22 | RHSA-2019:3172 |
| Red Hat Ceph Storage 2 | python-jinja2 | Not affected | |
| Red Hat Ceph Storage 3 | python-jinja2 | Not affected | |
| Red Hat Enterprise Linux 6 | python-jinja2 | Not affected | |
| Red Hat Enterprise Linux 7 | python-jinja2 | Not affected | |
| Red Hat Enterprise Linux 8 | python27:2.7/python-jinja2 | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | python-jinja2 | Not affected | |
| Red Hat OpenStack Platform 14 (Rocky) | python-jinja2 | Not affected | |
| Red Hat OpenStack Platform 15 (Stein) | python-jinja2 | Not affected | |
| Red Hat Software Collections | python27-python-jinja2 | Not affected | |
| Red Hat Storage 3 | python-jinja2 | Not affected | |
| 359 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-10906.