Skip to content
OpenAdvisories
Medium · 6.2 CVE-2014-0012 EUVD-2014-0024GHSA-fqh9-2qgg-h84hPYSEC-2014-82

Insecure Temporary File in Jinja2

Published May 19, 2014 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jinja2 2.7.2-2 —
Debian 13 jinja2 2.7.2-2 —
Debian 12 jinja2 2.7.2-2 —
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 python-Jinja2 2.8-2.1 openSUSE-SU-2019:0244-1
SUSE Enterprise Storage 1.0 python-Jinja2 2.7.3-4.1 SUSE-SU-2015:1336-1
SUSE Cloud Compute Node for SUSE Linux Enterprise 12 python-Jinja2 2.7.3-4.1 SUSE-SU-2015:1336-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Jinja2 2.8-1.4 openSUSE-SU-2026:11992-1, openSUSE-SU-2024:13930-1, openSUSE-SU-2024:11208-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI jinja2 < 2.7.2 2.7.2 GHSA-fqh9-2qgg-h84h
PyPI jinja2 < 2.7.3 2.7.3 PYSEC-2014-82

Advisories 6

References