RHSA-2019:1022HighCVSS 9.0

Red Hat Security Advisory: python-jinja2 security update

Published
May 7, 2019
Last Modified
November 7, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2016-10745 — python-jinja2: Sandbox escape due to information disclosure via str.format

🎯 Affected products15

  • Red Hat Enterprise Linux Client Optional (v. 7)
  • Red Hat Enterprise Linux ComputeNode Optional (v. 7)
  • Red Hat Enterprise Linux Server (v. 7)
  • Red Hat Enterprise Linux Workstation (v. 7)
  • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.noarch as a component of Red Hat Enterprise Linux Client Optional (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.noarch as a component of Red Hat Enterprise Linux ComputeNode Optional (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.noarch as a component of Red Hat Enterprise Linux Server (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.noarch as a component of Red Hat Enterprise Linux Workstation (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.noarch as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.src as a component of Red Hat Enterprise Linux Client Optional (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.src as a component of Red Hat Enterprise Linux ComputeNode Optional (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.src as a component of Red Hat Enterprise Linux Server (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.src as a component of Red Hat Enterprise Linux Workstation (v. 7)
  • python-jinja2-0:2.7.2-3.el7_6.src as a component of Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 For the update to take effect, all applications using Jinja2 must be restarted. Workaround: 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.

🔗 References (4)