{"api_version":"1","generated_at":"2026-04-22T22:47:58+00:00","cve":"CVE-2014-0012","urls":{"html":"https://cve.report/CVE-2014-0012","api":"https://cve.report/api/cve/CVE-2014-0012.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2014-0012","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2014-0012"},"summary":{"title":"CVE-2014-0012","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2014-05-19 14:55:00","updated_at":"2023-11-07 02:18:00"},"problem_types":["CWE-264"],"metrics":[],"references":[{"url":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml","name":"GLSA-201408-13","refsource":"GENTOO","tags":[],"title":"Gentoo Linux Documentation\n--\n  Jinja2: Multiple vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/60738","name":"60738","refsource":"SECUNIA","tags":[],"title":"Security Advisory SA60738 - Gentoo update for jinja - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/mitsuhiko/jinja2/pull/292","name":"https://github.com/mitsuhiko/jinja2/pull/292","refsource":"MISC","tags":[],"title":"Fix for CVE-2014-0012 (Insecure temp folder creation) by kilink · Pull Request #292 · pallets/jinja · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7","name":"https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7","refsource":"MISC","tags":["Exploit","Patch"],"title":"Fixed a security issue with temporary files on the filesystem cache o… · pallets/jinja@acb672b · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421","refsource":"MISC","tags":[],"title":"1051421 – (CVE-2014-1402) CVE-2014-1402 python-jinja2: FileSystemBytecodeCache insecure cache temporary file use","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/56328","name":"56328","refsource":"SECUNIA","tags":[],"title":"Security Advisory SA56328 - Jinja Filesystem Cache Insecure Directory Creation Security Issue - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://seclists.org/oss-sec/2014/q1/73","name":"[oss-security] 20140110 CVE assignment for jinja2","refsource":"MLIST","tags":[],"title":"oss-sec: CVE assignment for jinja2","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/mitsuhiko/jinja2/pull/296","name":"https://github.com/mitsuhiko/jinja2/pull/296","refsource":"MISC","tags":[],"title":"Fix for CVE-2014-0012 by thoger · Pull Request #296 · pallets/jinja · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-0012","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0012","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2014","cve_id":"12","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pocoo","cpe5":"jinja2","cpe6":"2.7.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"12","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pocoo","cpe5":"jinja2","cpe6":"2.7.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2014-0012","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_affected":"=","version_value":"n/a"}]}}]}}]}},"references":{"reference_data":[{"url":"http://seclists.org/oss-sec/2014/q1/73","refsource":"MISC","name":"http://seclists.org/oss-sec/2014/q1/73"},{"url":"http://secunia.com/advisories/56328","refsource":"MISC","name":"http://secunia.com/advisories/56328"},{"url":"http://secunia.com/advisories/60738","refsource":"MISC","name":"http://secunia.com/advisories/60738"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml","refsource":"MISC","name":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421"},{"url":"https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7","refsource":"MISC","name":"https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7"},{"url":"https://github.com/mitsuhiko/jinja2/pull/292","refsource":"MISC","name":"https://github.com/mitsuhiko/jinja2/pull/292"},{"url":"https://github.com/mitsuhiko/jinja2/pull/296","refsource":"MISC","name":"https://github.com/mitsuhiko/jinja2/pull/296"}]}},"nvd":{"publishedDate":"2014-05-19 14:55:00","lastModifiedDate":"2023-11-07 02:18:00","problem_types":["CWE-264"],"metrics":{"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.4},"severity":"MEDIUM","exploitabilityScore":3.4,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:pocoo:jinja2:2.7.2:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2014","CveId":"12","Ordinal":"66645","Title":"CVE-2014-0012","CVE":"CVE-2014-0012","Year":"2014"},"notes":[{"CveYear":"2014","CveId":"12","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2014","CveId":"12","Ordinal":"2","NoteData":"2014-05-19","Type":"Other","Title":"Published"},{"CveYear":"2014","CveId":"12","Ordinal":"3","NoteData":"2014-09-12","Type":"Other","Title":"Modified"}]}}}