CVE-2014-1402
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
4.4
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.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.7.2-1 |
| sid | Fixed | 2.7.2-1 |
| forky | Fixed | 2.7.2-1 |
| bullseye | Fixed | 2.7.2-1 |
| bookworm | Fixed | 2.7.2-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | jinja2 | <2.7.2 | 2.7.2 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| pocoo | jinja2 | {"endIncluding":"2.7.1"} | |
| pocoo | jinja2 | 2.0 | |
| 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 | |
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
- https://nvd.nist.gov/vuln/detail/CVE-2014-1402
- https://github.com/advisories/GHSA-8r7q-cvjq-x353
- https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-8.yaml
- https://web.archive.org/web/20150523060528/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2014:096/?name=MDVSA-2014:096
- http://jinja.pocoo.org/docs/changelog
- https://security-tracker.debian.org/tracker/CVE-2014-1402
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.