CVE-2014-0012

medium
Published 2014-05-19 · Modified 2023-11-08
CVSS v3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v2
4.4
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

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2014-0012

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed2.7.2-2
debian debianbullseyefixed2.7.2-2
debian debianforkyfixed2.7.2-2
debian debiansidfixed2.7.2-2
debian debiantrixiefixed2.7.2-2

Package impact

EcosystemPackageVulnerableFixed
python PyPIjinja2<2.7.22.7.2
python PyPIjinja2<acb672b6a179567632e032f547582f30fa2f4aa7||<2.7.3acb672b6a179567632e032f547582f30fa2f4aa7

Application impact

VendorProductVersionsFixed
pocoojinja22.7.2

References

CWEs

CWE-264

Verify integrity in audit chain (admin only). AS-IS.