Name | CVE-2014-0012 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 734956 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
jinja2 (PTS) | jessie, jessie (lts) | 2.7.3-1+deb8u1 | fixed |
| stretch (lts), stretch | 2.8-1+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 2.10-2+deb10u1 | fixed |
| bullseye | 2.11.3-1 | fixed |
| bookworm | 3.1.2-1 | fixed |
| sid, trixie | 3.1.3-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
jinja2 | source | squeeze | (not affected) | | | |
jinja2 | source | wheezy | (not affected) | | | |
jinja2 | source | (unstable) | 2.7.2-2 | | | 734956 |
Notes
[squeeze] - jinja2 <not-affected> (introduced by fix in 2.7.2)
[wheezy] - jinja2 <not-affected> (introduced by fix in 2.7.2)
introduced by https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7