CVE-2014-0012
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.
View on NVDSeverity
N/A
EPSS
Probability of exploitation (next 30 days): 0.0010 (0.1%)
Percentile: 27.4%
EPSS: 2026-05-06
Affects
pocoo:jinja2Technical 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.
Published: 5/19/2014, 2:55:10 PM
Last modified: 5/6/2026, 10:30:45 PM
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