CVSS 3.0
8.6 highCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NHigh (8.6) in palletsprojects jinja. EPSS 3.5% estimated probability of exploitation activity in the next 30 days. Fixed in jinja2 2.8.1.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:Njinja2 (PyPI): fixed in 2.8.1Explain CVE-2016-10745 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-10745?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-10745?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-2016-10745 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.8.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-hj2j-77xm-mc5v | PyPI | jinja2 | <2.8.1 | 2.8.1 |
| PYSEC-2019-220 | PyPI | jinja2 | <2.8.1 | 2.8.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | jinja2 | 2.9.4-1 | DEBIAN-CVE-2016-10745 |
| Ubuntu | 16.04:LTS | jinja2 | 2.8-1ubuntu0.1 | UBUNTU-CVE-2016-10745 USN-4011-1 |
| Ubuntu | 18.04:LTS | jinja2 | 2.10-1ubuntu0.18.04.1 | USN-4011-1 |
| Ubuntu | Pro:14.04:LTS | jinja2 | 2.7.2-2ubuntu0.1~esm1 | UBUNTU-CVE-2016-10745 USN-4011-2 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | python-jinja2 | 0:2.7.2-3.el7_6 | RHSA-2019:1022 |
| Red Hat | rhel_aus:7.4::server, rhel_e4s:7.4::server, rhel_tus:7.4::server | python-jinja2 | 0:2.7.2-3.el7_4 | RHSA-2019:4062 |
| Red Hat | rhel_eus:7.5::computenode, rhel_eus:7.5::server | python-jinja2 | 0:2.7.2-3.el7_5 | RHSA-2019:3964 |
| Red Hat | rhel_software_collections:3::el6 | python27-python, python27-tkinter, python27-python-libs and 5 more | 0:2.7.16-4.el6 | RHSA-2019:1260 |
| Red Hat | rhel_software_collections:3::el6 | python27-python-jinja2 | 0:2.6-12.el6 | RHSA-2019:1260 |
| 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::el7 | python27-python, python27-tkinter, python27-python-libs and 5 more | 0:2.7.16-4.el7 | RHSA-2019:1260 |
| Red Hat | rhel_software_collections:3::el7 | python27-python-jinja2 | 0:2.6-15.el7 | RHSA-2019:1260 |
| Red Hat | rhel_software_collections:3::el7 | rh-python35-python-jinja2 | 0:2.8.1-2.el7 | RHSA-2019:1237 |
| 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 |
| 197 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.17.1 | SUSE-SU-2019:1323-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 |
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. 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 OpenStack Platform is not affected by this flaw. All supported versions ship python-jinja2 packages which have already been fixed.
* Red Hat Satellite 6 will receive fixes through the underlying Red Hat Enterprise Linux, so it will not issue updates to its own affected package.
* Red Hat Update Infrastructure is not affected because its packaged versions of python-jinja2 do not use the Sandbox feature, nor does it allow untrusted jinja2 templates.
* 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 Ceph Storage 2 and 3 are affected by this flaw as it contains the vulnerable code and will get security fixes for python-jinja2 from Red Hat Enterprise Linux 7 channel.
If you don't want or you cannot upgrade Jinja2, you can override the `is_safe_attribute` method on the sandbox and explicitly disallow all `format` attributes on strings.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | python-jinja2-0:2.7.2-3.el7_6 | Fixed 2019-05-07 | RHSA-2019:1022 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | python-jinja2-0:2.7.2-3.el7_4 | Fixed 2019-12-03 | RHSA-2019:4062 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | python-jinja2-0:2.7.2-3.el7_4 | Fixed 2019-12-03 | RHSA-2019:4062 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | python-jinja2-0:2.7.2-3.el7_4 | Fixed 2019-12-03 | RHSA-2019:4062 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | python-jinja2-0:2.7.2-3.el7_5 | Fixed 2019-11-26 | RHSA-2019:3964 |
| 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 Ceph Storage 2 | python-jinja2 | Will not fix | |
| Red Hat Ceph Storage 3 | python-jinja2 | Will not fix | |
| Red Hat Enterprise Linux 6 | python-jinja2 | Will not fix | |
| Red Hat Enterprise Linux 8 | python27:2.7/python-jinja2 | Not affected | |
| Red Hat Enterprise Linux 8 | 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 | rh-python36-python-jinja2 | Not affected | |
| Red Hat Storage 3 | python-jinja2 | Affected | |
| 368 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-2016-10745.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.