The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with _jinja2 in /tmp.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.7.2-2", "binary_name": "python-jinja2" }, { "binary_version": "2.7.2-2", "binary_name": "python-jinja2-doc" }, { "binary_version": "2.7.2-2", "binary_name": "python3-jinja2" } ] }