CVE-2014-0012
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
4.4
Description
FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user's uid. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402.
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-2 |
| sid | Fixed | 2.7.2-2 |
| forky | Fixed | 2.7.2-2 |
| bullseye | Fixed | 2.7.2-2 |
| bookworm | Fixed | 2.7.2-2 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| pocoo | jinja2 | 2.7.2 | |
References
- http://seclists.org/oss-sec/2014/q1/73
- http://secunia.com/advisories/56328
- http://secunia.com/advisories/60738
- http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421
- https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7
- https://github.com/mitsuhiko/jinja2/pull/292
- https://github.com/mitsuhiko/jinja2/pull/296
- https://nvd.nist.gov/vuln/detail/CVE-2014-0012
- https://github.com/pallets/jinja2/pull/292
- https://github.com/pallets/jinja2/pull/296
- https://github.com/pallets/jinja/commit/acb672b6a179567632e032f547582f30fa2f4aa7
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747
- https://github.com/pallets/jinja2
- https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-82.yaml
- https://security-tracker.debian.org/tracker/CVE-2014-0012
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.