CVE-2014-1402
Summary
| CVE | CVE-2014-1402 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2014-05-19 14:55:11 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| Description | 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:L/AC:M/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Pocoo | Jinja2 | 2.0 | - | All | All |
| Application | Pocoo | Jinja2 | 2.0 | rc1 | All | All |
| Application | Pocoo | Jinja2 | 2.1 | All | All | All |
| Application | Pocoo | Jinja2 | 2.1.1 | All | All | All |
| Application | Pocoo | Jinja2 | 2.2 | All | All | All |
| Application | Pocoo | Jinja2 | 2.2.1 | All | All | All |
| Application | Pocoo | Jinja2 | 2.3 | All | All | All |
| Application | Pocoo | Jinja2 | 2.3.1 | All | All | All |
| Application | Pocoo | Jinja2 | 2.4 | All | All | All |
| Application | Pocoo | Jinja2 | 2.4.1 | All | All | All |
| Application | Pocoo | Jinja2 | 2.5 | All | All | All |
| Application | Pocoo | Jinja2 | 2.5.1 | All | All | All |
| Application | Pocoo | Jinja2 | 2.5.2 | All | All | All |
| Application | Pocoo | Jinja2 | 2.5.3 | All | All | All |
| Application | Pocoo | Jinja2 | 2.5.4 | All | All | All |
| Application | Pocoo | Jinja2 | 2.5.5 | All | All | All |
| Application | Pocoo | Jinja2 | 2.6 | All | All | All |
| Application | Pocoo | Jinja2 | 2.7 | All | All | All |
| Application | Pocoo | Jinja2 | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Security Advisory SA60738 - Gentoo update for jinja - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| 1051421 – (CVE-2014-1402) CVE-2014-1402 python-jinja2: FileSystemBytecodeCache insecure cache temporary file use | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| Gentoo Linux Documentation -- Jinja2: Multiple vulnerabilities | af854a3a-2127-422b-91ae-364da2661108 | www.gentoo.org | |
| Security Advisory SA56287 - Jinja Filesystem Cache Insecure File Creation Security Issue - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Mageia Advisory: MGASA-2014-0028 - Updated python-jinja2 package fixes two security vulnerabilities | af854a3a-2127-422b-91ae-364da2661108 | advisories.mageia.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| oss-security - Re: CVE Request: python-jinja2: arbitrary code execution vulnerability | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| Security Advisory SA58783 - Oracle Linux update for python-jinja2 - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| #734747 - jinja2: CVE-2014-1402: jinja2.bccache.FileSystemBytecodeCache: insecure default directory - Debian Bug report logs | af854a3a-2127-422b-91ae-364da2661108 | bugs.debian.org | |
| [El-errata] ELSA-2014-0747 Moderate: Oracle Linux 6 python-jinja2 security update | af854a3a-2127-422b-91ae-364da2661108 | oss.oracle.com | |
| About Secunia Research | Flexera | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Security Advisory SA59017 - Red Hat update for python-jinja2 - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Support / Security / Advisories / / MDVSA-2014:096 | Mandriva | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| Security Advisory SA58918 - Red Hat update for python33-python-jinja2 and python27-python-jinja2 - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| oss-security - CVE Request: python-jinja2: arbitrary code execution vulnerability | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| Jinja2 Changelog — Jinja2 Documentation (2.8-dev) | af854a3a-2127-422b-91ae-364da2661108 | jinja.pocoo.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.