Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 464
Alerts This Week
Warning Icon 1 464

Red Hat: RHSA-2014-0747-01 Moderate: python-jinja2 Local Attack Hazard

red hat
Calendar Grey June 11, 2014
Scroller Redhat
Debian issued a vital patch for python-flask tackling a security loophole. Users advised to update promptly.
Updated python-jinja2 packages that fix one security issue are now available for Red Hat Enterprise Linux 6

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/site/articles/11258

Summary

Jinja2 is a template engine written in pure Python. It provides a Django-inspired, non-XML syntax but supports inline expressions and an optional sandboxed environment.
It was discovered that Jinja2 did not properly handle bytecode cache files stored in the system's temporary directory. A local attacker could use this flaw to alter the output of an application using Jinja2 and FileSystemBytecodeCache, and potentially execute arbitrary code with the privileges of that application. (CVE-2014-1402)
All python-jinja2 users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue. For the update to take effect, all applications using python-jinja2 must be restarted.

References

https://access.redhat.com/security/cve/CVE-2014-1402 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux Desktop Optional (v. 6):
Source: python-jinja2-2.2.1-2.el6_5.src.rpm
i386: python-jinja2-2.2.1-2.el6_5.i686.rpm python-jinja2-debuginfo-2.2.1-2.el6_5.i686.rpm
x86_64: python-jinja2-2.2.1-2.el6_5.x86_64.rpm python-jinja2-debuginfo-2.2.1-2.el6_5.x86_64.rpm
Red Hat Enterprise Linux HPC Node Optional (v. 6):
Source: python-jinja2-2.2.1-2.el6_5.src.rpm
x86_64: python-jinja2-2.2.1-2.el6_5.x86_64.rpm python-jinja2-debuginfo-2.2.1-2.el6_5.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 6):
Source: python-jinja2-2.2.1-2.el6_5.src.rpm
i386: python-jinja2-2.2.1-2.el6_5.i686.rpm python-jinja2-debuginfo-2.2.1-2.el6_5.i686.rpm
ppc64: python-jinja2-2.2.1-2.el6_5.ppc64.rpm python-jinja2-debuginfo-2.2.1-2.el6_5.ppc64.rpm
s390x: python-jinja2-2.2.1-2.el6_5.s390x.rpm python-jinja2-debuginfo-2.2.1-2.el6_5.s390x.rpm
x86_64: python-jinja2-2.2.1-2.el6_5.x86_64.rpm python-jinja2-debuginfo-2.2.1-2.el6_5.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 6):
Source: python-jinja2-2.2.1-2.el6_5.src.rpm
i386: python-jinja2-2.2.1-2.el6_5.i686.rpm python-jinja2-debuginfo-2.2.1-2.el6_5.i686.rpm
x86_64: python-jinja2-2.2.1-2.el6_5.x86_64.rpm python-jinja2-debuginfo-2.2.1-2.el6_5.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and

Read the Full Advisory


Advisory ID: RHSA-2014:0747-01
Product: Red Hat Enterprise Linux
Issue date: 2014-06-11

Topic

Updated python-jinja2 packages that fix one security issue are nowavailable for Red Hat Enterprise Linux 6.The Red Hat Security Response Team has rated this update as having Moderatesecurity impact. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available from the CVE link inthe References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64

Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64

Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

Bugs Fixed

1051421 - CVE-2014-1402 python-jinja2: FileSystemBytecodeCache insecure cache temporary file use

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.