{"id":"CVE-2014-1402","state":"PUBLISHED","title":"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 cra","description":"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.","publishedAt":"2014-05-19T14:00:00.000Z","updatedAt":"2024-08-06T09:42:35.316Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html","http://openwall.com/lists/oss-security/2014/01/10/3","http://secunia.com/advisories/59017","http://secunia.com/advisories/56287","http://www.mandriva.com/security/advisories?name=MDVSA-2014:096","http://secunia.com/advisories/58783","http://secunia.com/advisories/58918","http://secunia.com/advisories/60738","https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747","https://bugzilla.redhat.com/show_bug.cgi?id=1051421","http://secunia.com/advisories/60770","http://rhn.redhat.com/errata/RHSA-2014-0747.html","http://jinja.pocoo.org/docs/changelog/","http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml","http://openwall.com/lists/oss-security/2014/01/10/2","http://advisories.mageia.org/MGASA-2014-0028.html","http://rhn.redhat.com/errata/RHSA-2014-0748.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:41:11.693Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2014/1xxx/CVE-2014-1402.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2014-1402","state":"PUBLISHED","datePublished":"2014-05-19T14:00:00.000Z","dateUpdated":"2024-08-06T09:42:35.316Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2014-01-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html","name":"[El-errata] 20140611 Oracle Linux Security Advisory ELSA-2014-0747","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://openwall.com/lists/oss-security/2014/01/10/3","name":"[oss-security] 20140110 Re: CVE Request: python-jinja2: arbitrary code execution vulnerability","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/59017","name":"59017","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/56287","name":"56287","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2014:096","name":"MDVSA-2014:096","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/58783","name":"58783","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/58918","name":"58918","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/60738","name":"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","name":"60770","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0747.html","name":"RHSA-2014:0747","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","name":"GLSA-201408-13","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://openwall.com/lists/oss-security/2014/01/10/2","name":"[oss-security] 20140110 CVE Request: python-jinja2: arbitrary code execution vulnerability","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","name":"RHSA-2014:0748","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-12-21T15:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2014-01-09T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2014-1402","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[El-errata] 20140611 Oracle Linux Security Advisory ELSA-2014-0747","refsource":"MLIST","url":"https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html"},{"name":"[oss-security] 20140110 Re: CVE Request: python-jinja2: arbitrary code execution vulnerability","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2014/01/10/3"},{"name":"59017","refsource":"SECUNIA","url":"http://secunia.com/advisories/59017"},{"name":"56287","refsource":"SECUNIA","url":"http://secunia.com/advisories/56287"},{"name":"MDVSA-2014:096","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2014:096"},{"name":"58783","refsource":"SECUNIA","url":"http://secunia.com/advisories/58783"},{"name":"58918","refsource":"SECUNIA","url":"http://secunia.com/advisories/58918"},{"name":"60738","refsource":"SECUNIA","url":"http://secunia.com/advisories/60738"},{"name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747","refsource":"CONFIRM","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421"},{"name":"60770","refsource":"SECUNIA","url":"http://secunia.com/advisories/60770"},{"name":"RHSA-2014:0747","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2014-0747.html"},{"name":"http://jinja.pocoo.org/docs/changelog/","refsource":"CONFIRM","url":"http://jinja.pocoo.org/docs/changelog/"},{"name":"GLSA-201408-13","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml"},{"name":"[oss-security] 20140110 CVE Request: python-jinja2: arbitrary code execution vulnerability","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2014/01/10/2"},{"name":"http://advisories.mageia.org/MGASA-2014-0028.html","refsource":"CONFIRM","url":"http://advisories.mageia.org/MGASA-2014-0028.html"},{"name":"RHSA-2014:0748","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2014-0748.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html","name":"[El-errata] 20140611 Oracle Linux Security Advisory ELSA-2014-0747","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2014/01/10/3","name":"[oss-security] 20140110 Re: CVE Request: python-jinja2: arbitrary code execution vulnerability","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://secunia.com/advisories/59017","name":"59017","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/56287","name":"56287","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2014:096","name":"MDVSA-2014:096","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/58783","name":"58783","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/58918","name":"58918","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/60738","name":"60738","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/60770","name":"60770","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0747.html","name":"RHSA-2014:0747","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://jinja.pocoo.org/docs/changelog/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml","name":"GLSA-201408-13","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2014/01/10/2","name":"[oss-security] 20140110 CVE Request: python-jinja2: arbitrary code execution vulnerability","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://advisories.mageia.org/MGASA-2014-0028.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0748.html","name":"RHSA-2014:0748","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T09:42:35.316Z"}}]}}}