{"id":"CVE-2014-1402","published":"2014-05-19T14:00:00Z","modified":"2024-08-06T09:42:35Z","title":"The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00373,"percentile":0.32024,"provenance":"source"},"cwes":[],"references":[{"url":"https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://openwall.com/lists/oss-security/2014/01/10/3","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/59017","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/56287","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2014:096","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/58783","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/58918","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/60738","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/60770","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0747.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://jinja.pocoo.org/docs/changelog/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://openwall.com/lists/oss-security/2014/01/10/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://advisories.mageia.org/MGASA-2014-0028.html","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0748.html","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":6.4}]},"affected":[{"ecosystem":"PyPI","package":"Jinja2","vulnerableRanges":["<2.7.2"],"patched":["2.7.2"],"from":["GHSA-8r7q-cvjq-x353","PYSEC-2014-8"],"provenance":"source"}],"summary":{"text":"The default configuration of bccache.FileSystemBytecodeCache in Jinja2 versions before 2.7.2 does not properly create temporary files, a flaw located in the Jinja2 template engine's bytecode caching component. A local user can exploit this by planting a crafted .cache file whose name begins with __jinja2_ in /tmp, which allows them to gain privileges on the system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:46Z"},"euvd":{"id":"EUVD-2014-0023","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jinja2-cve-2014-0012","children":[{"from":"CVE-2014-1402","to":"CVE-2014-0012","relation":"incomplete-fix","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402.","from":"CVE.org","in":"CVE-2014-0012"},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same package + description similarity"}]}]}}