{"id":"UBUNTU-CVE-2014-1402","details":"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.","modified":"2026-02-04T03:44:40.042144Z","published":"2014-05-19T00:00:00Z","withdrawn":"2025-07-18T16:42:59Z","related":["USN-2301-1"],"upstream":["CVE-2014-1402"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-1402"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2301-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-1402"}],"affected":[{"package":{"name":"jinja2","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/jinja2@2.7.2-2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.2-2"}]}],"versions":["2.7-3","2.7.1-1","2.7.2-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"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","binary_version":"2.7.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-1402.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}