Oracle Linux 6 : python-jinja2 (ELSA-2014-0747)

This script is Copyright (C) 2014 Tenable Network Security, Inc.


Synopsis :

The remote Oracle Linux host is missing a security update.

Description :

From Red Hat Security Advisory 2014:0747 :

Updated python-jinja2 packages that fix one security issue are now
available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having
Moderate security impact. A Common Vulnerability Scoring System (CVSS)
base score, which gives a detailed severity rating, is available from
the CVE link in the References section.

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.

See also :

https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html

Solution :

Update the affected python-jinja2 package.

Risk factor :

Medium / CVSS Base Score : 4.4
(CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 3.8
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Oracle Linux Local Security Checks

Nessus Plugin ID: 74483 ()

Bugtraq ID: 64759

CVE ID: CVE-2014-1402