DescriptionFileSystemBytecodeCache 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs734956

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jinja2 (PTS)stretch2.8-1fixed
bookworm, sid3.0.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jinja2sourcesqueeze(not affected)
jinja2sourcewheezy(not affected)


[squeeze] - jinja2 <not-affected> (introduced by fix in 2.7.2)
[wheezy] - jinja2 <not-affected> (introduced by fix in 2.7.2)
introduced by

Search for package or bug name: Reporting problems