Red Hat Security Advisory: python27-python and python27-python-jinja2 security and bug fix update
🔗 CVE IDs covered (6)
📋 Description
CVE-2016-10745 — python-jinja2: Sandbox escape due to information disclosure via str.format CVE-2018-1060 — python: DOS via regular expression catastrophic backtracking in apop() method in pop3lib CVE-2018-1061 — python: DOS via regular expression backtracking in difflib.IS_LINE_JUNK method in difflib CVE-2018-14647 — python: Missing salt initialization in _elementtree.c module CVE-2019-9740 — python: CRLF injection via the query part of the url passed to urlopen() CVE-2019-9947 — python: CRLF injection via the path part of the url passed to urlopen()
🎯 Affected products148
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- python27-python-0:2.7.16-4.el6.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)
- python27-python-0:2.7.16-4.el6.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)
- python27-python-0:2.7.16-4.el6.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)
- python27-python-0:2.7.16-4.el6.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)
- python27-python-0:2.7.16-4.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- python27-python-0:2.7.16-4.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)
- python27-python-0:2.7.16-4.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- python27-python-0:2.7.16-4.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- python27-python-0:2.7.16-4.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- python27-python-0:2.7.16-4.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)
- python27-python-0:2.7.16-4.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- python27-python-0:2.7.16-4.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- python27-python-0:2.7.16-4.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- python27-python-0:2.7.16-4.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)
- python27-python-0:2.7.16-4.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- python27-python-0:2.7.16-4.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- python27-python-0:2.7.16-4.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- python27-python-0:2.7.16-4.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- python27-python-0:2.7.16-4.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)
- python27-python-0:2.7.16-4.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- python27-python-0:2.7.16-4.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- python27-python-0:2.7.16-4.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- python27-python-debug-0:2.7.16-4.el6.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)
- +118 more not shown
✅ 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 (10)
- selfhttps://access.redhat.com/errata/RHSA-2019:1260
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1549191
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1549192
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1631822
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1688169
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1695572
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1698345
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1709349
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_1260.json