Executive Summary

Informations
Name CVE-2014-1402 First vendor Publication 2014-05-19
Vendor Cve Last vendor Modification 2017-12-22

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 4.4 Attack Range Local
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 3.4 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with __jinja2_ in /tmp.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-1402

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-264 Permissions, Privileges, and Access Controls

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:24790
 
Oval ID: oval:org.mitre.oval:def:24790
Title: RHSA-2014:0747: python-jinja2 security update (Moderate)
Description: 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.
Family: unix Class: patch
Reference(s): RHSA-2014:0747-00
CESA-2014:0747
CVE-2014-1402
Version: 3
Platform(s): Red Hat Enterprise Linux 6
CentOS Linux 6
Product(s): python-jinja2
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:24851
 
Oval ID: oval:org.mitre.oval:def:24851
Title: ELSA-2014:0747: python-jinja2 security update (Moderate)
Description: 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.
Family: unix Class: patch
Reference(s): ELSA-2014:0747-00
CVE-2014-1402
Version: 4
Platform(s): Oracle Linux 6
Product(s): python-jinja2
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:26103
 
Oval ID: oval:org.mitre.oval:def:26103
Title: USN-2301-1 -- jinja2 vulnerabilities
Description: A security issue was fixed in Jinja2.
Family: unix Class: patch
Reference(s): USN-2301-1
CVE-2014-0012
CVE-2014-1402
Version: 3
Platform(s): Ubuntu 12.04
Product(s): jinja2
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:27287
 
Oval ID: oval:org.mitre.oval:def:27287
Title: DEPRECATED: ELSA-2014-0747 -- python-jinja2 security update (moderate)
Description: [2.2.1-2] - Fix CVE-2014-1402 Resolves: rhbz#1102889
Family: unix Class: patch
Reference(s): ELSA-2014-0747
CVE-2014-1402
Version: 4
Platform(s): Oracle Linux 6
Product(s): python-jinja2
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 18

Nessus® Vulnerability Scanner

Date Description
2015-01-19 Name : The remote Solaris system is missing a security patch for third-party software.
File : solaris11_jinja2_20141216.nasl - Type : ACT_GATHER_INFO
2014-10-12 Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2014-371.nasl - Type : ACT_GATHER_INFO
2014-08-30 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201408-13.nasl - Type : ACT_GATHER_INFO
2014-07-25 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-2301-1.nasl - Type : ACT_GATHER_INFO
2014-06-23 Name : The remote Fedora host is missing a security update.
File : fedora_2014-7166.nasl - Type : ACT_GATHER_INFO
2014-06-23 Name : The remote Fedora host is missing a security update.
File : fedora_2014-7399.nasl - Type : ACT_GATHER_INFO
2014-06-12 Name : The remote CentOS host is missing a security update.
File : centos_RHSA-2014-0747.nasl - Type : ACT_GATHER_INFO
2014-06-12 Name : The remote Oracle Linux host is missing a security update.
File : oraclelinux_ELSA-2014-0747.nasl - Type : ACT_GATHER_INFO
2014-06-12 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2014-0747.nasl - Type : ACT_GATHER_INFO
2014-06-12 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20140611_python_jinja2_on_SL6_x.nasl - Type : ACT_GATHER_INFO
2014-05-19 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2014-096.nasl - Type : ACT_GATHER_INFO

Sources (Detail)

Source Url
CONFIRM http://advisories.mageia.org/MGASA-2014-0028.html
http://jinja.pocoo.org/docs/changelog/
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747
https://bugzilla.redhat.com/show_bug.cgi?id=1051421
GENTOO http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml
MANDRIVA http://www.mandriva.com/security/advisories?name=MDVSA-2014:096
MLIST http://openwall.com/lists/oss-security/2014/01/10/2
http://openwall.com/lists/oss-security/2014/01/10/3
https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html
REDHAT http://rhn.redhat.com/errata/RHSA-2014-0747.html
http://rhn.redhat.com/errata/RHSA-2014-0748.html
SECUNIA http://secunia.com/advisories/56287
http://secunia.com/advisories/58783
http://secunia.com/advisories/58918
http://secunia.com/advisories/59017
http://secunia.com/advisories/60738
http://secunia.com/advisories/60770

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Date Informations
2021-05-04 12:29:57
  • Multiple Updates
2021-04-22 01:36:08
  • Multiple Updates
2020-05-23 01:51:08
  • Multiple Updates
2020-05-23 00:39:53
  • Multiple Updates
2017-12-22 09:21:07
  • Multiple Updates
2017-01-07 09:25:20
  • Multiple Updates
2016-04-27 00:13:35
  • Multiple Updates
2015-01-21 13:26:43
  • Multiple Updates
2014-10-12 13:27:11
  • Multiple Updates
2014-09-19 13:28:05
  • Multiple Updates
2014-09-04 13:25:26
  • Multiple Updates
2014-08-31 13:25:01
  • Multiple Updates
2014-07-26 13:27:50
  • Multiple Updates
2014-06-24 13:22:32
  • Multiple Updates
2014-06-21 09:25:20
  • Multiple Updates
2014-06-13 13:24:59
  • Multiple Updates
2014-05-20 17:20:58
  • Multiple Updates
2014-05-20 13:23:24
  • Multiple Updates
2014-05-19 21:23:04
  • First insertion