CVE-2014-0012

Jinja2 <2.7.2 - Privilege Escalation

Title source: llm
STIX 2.1

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.

References (8)

Core 8
Core References
Issue Tracking x_refsource_misc
https://github.com/mitsuhiko/jinja2/pull/292
Issue Tracking x_refsource_misc
https://github.com/mitsuhiko/jinja2/pull/296
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/56328
Issue Tracking x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=1051421
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/60738
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml
Mailing List mailing-list x_refsource_mlist
http://seclists.org/oss-sec/2014/q1/73

Scores

EPSS 0.0043
EPSS Percentile 35.2%

Details

CWE
CWE-264
Status published
Products (2)
pocoo/jinja2 2.7.2
pypi/Jinja2 0 - 2.7.2PyPI
Published May 19, 2014
Tracked Since Feb 18, 2026