CVE-2014-1402 pocoo jinja2
pocoo jinja2: no CVSS score yet. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in jinja2 2.7.2.
On this page
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.
- EPSS
- 0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-264 Permissions, Privileges, and Access Controls
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
jinja2(PyPI): fixed in 2.7.2- Debian, Red Hat: fixed package versions per release
Ask an AI about this CVE
Show the prompt
Explain CVE-2014-1402 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2014-1402?via=ask-ai-copy and https://cve.bz/cve/CVE-2014-1402?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2014-1402 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| pocoo:jinja2 | through 2.7.1 |
| pocoo:jinja2 | 2.0 |
| pocoo:jinja2 | 2.0:rc1 |
| pocoo:jinja2 | 2.1 |
| pocoo:jinja2 | 2.1.1 |
| pocoo:jinja2 | 2.2 |
| pocoo:jinja2 | 2.2.1 |
| pocoo:jinja2 | 2.3 |
| pocoo:jinja2 | 2.3.1 |
| pocoo:jinja2 | 2.4 |
| pocoo:jinja2 | 2.4.1 |
| pocoo:jinja2 | 2.5 |
| pocoo:jinja2 | 2.5.1 |
| pocoo:jinja2 | 2.5.2 |
| pocoo:jinja2 | 2.5.3 |
| pocoo:jinja2 | 2.5.4 |
| pocoo:jinja2 | 2.5.5 |
| pocoo:jinja2 | 2.6 |
| pocoo:jinja2 | 2.7 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-8r7q-cvjq-x353 | PyPI | jinja2 | <2.7.2 | 2.7.2 |
| PYSEC-2014-8 | PyPI | jinja2 | <2.7.2 | 2.7.2 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | jinja2 | 2.7.2-1 | DEBIAN-CVE-2014-1402 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | python-jinja2, python-jinja2-debuginfo | 0:2.2.1-2.el6_5 | RHSA-2014:0747 |
| Red Hat | rhel_software_collections:1::el6 | python27-python-jinja2 | 0:2.6-10.el6 | RHSA-2014:0748 |
| Red Hat | rhel_software_collections:1::el6 | python33-python-jinja2 | 0:2.6-11.el6 | RHSA-2014:0748 |
| Red Hat | rhel_software_collections:1::el7 | python27-python-jinja2 | 0:2.6-11.el7 | RHSA-2014:0748 |
| Red Hat | rhel_software_collections:1::el7 | python33-python-jinja2 | 0:2.6-12.el7 | RHSA-2014:0748 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | python-jinja2-0:2.2.1-2.el6_5 | Fixed 2014-06-11 | RHSA-2014:0747 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | python27-python-jinja2-0:2.6-10.el6 | Fixed 2014-06-11 | RHSA-2014:0748 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | python33-python-jinja2-0:2.6-11.el6 | Fixed 2014-06-11 | RHSA-2014:0748 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.3 EUS | python27-python-jinja2-0:2.6-10.el6 | Fixed 2014-06-11 | RHSA-2014:0748 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.3 EUS | python33-python-jinja2-0:2.6-11.el6 | Fixed 2014-06-11 | RHSA-2014:0748 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | python27-python-jinja2-0:2.6-10.el6 | Fixed 2014-06-11 | RHSA-2014:0748 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | python33-python-jinja2-0:2.6-11.el6 | Fixed 2014-06-11 | RHSA-2014:0748 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | python27-python-jinja2-0:2.6-11.el7 | Fixed 2014-06-11 | RHSA-2014:0748 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | python33-python-jinja2-0:2.6-12.el7 | Fixed 2014-06-11 | RHSA-2014:0748 |
| Red Hat Enterprise Linux 7 | python-jinja2 | Not affected | |
| Red Hat OpenStack Platform 4 | python-jinja2-26 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2014-1402.
References
- http://advisories.mageia.org/MGASA-2014-0028.html
- http://jinja.pocoo.org/docs/changelog/
- http://openwall.com/lists/oss-security/2014/01/10/2
- http://openwall.com/lists/oss-security/2014/01/10/3
- http://rhn.redhat.com/errata/RHSA-2014-0747.html
- http://rhn.redhat.com/errata/RHSA-2014-0748.html
- 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
- http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:096
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421
- https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html