CVE-2014-0012
MEDIUM 4.4CVSS 2.0Insecure Temporary File in Jinja2
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
- 19 May 2014
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264CWE-377
- Also known as
- GHSA-fqh9-2qgg-h84hPYSEC-2014-82
- Sources
- NVDJSONOSV GHSA-fqh9-2qgg-h84hJSONOSV PYSEC-2014-82JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pocoo | jinja2cpe:2.3:a:pocoo:jinja2:2.7.2:*:*:*:*:*:*:* |
= 2.7.2 | |
| OSV | PyPI | jinja2 | < 2.7.2 | 2.7.2 |
| OSV | PyPI | jinja2 | < 2.7.3 | 2.7.3 |
References
- http://seclists.org/oss-sec/2014/q1/73 · WEB
- http://secunia.com/advisories/56328 · ADVISORY
- http://secunia.com/advisories/60738 · ADVISORY
- http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421 · WEB, REPORT
- https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7 · Exploit, Patch, WEB, FIX
- https://github.com/mitsuhiko/jinja2/pull/292 · WEB
- https://github.com/mitsuhiko/jinja2/pull/296 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2014-0012 · ADVISORY
- https://github.com/pallets/jinja2/pull/292 · WEB
- https://github.com/pallets/jinja2/pull/296 · WEB
- https://github.com/pallets/jinja/commit/acb672b6a179567632e032f547582f30fa2f4aa7 · WEB
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747 · WEB
- https://github.com/pallets/jinja2 · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-82.yaml · WEB
- https://github.com/advisories/GHSA-fqh9-2qgg-h84h · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 19 May 2014)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 May 2014)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)