{"id":"UBUNTU-CVE-2014-0012","details":"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.","modified":"2026-01-30T01:44:05.246625Z","published":"2014-05-19T00:00:00Z","withdrawn":"2025-07-18T16:42:58Z","related":["USN-2301-1"],"upstream":["CVE-2014-0012"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-0012"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2301-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-0012"}],"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_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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-0012.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}