{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2014-0012","id":"CVE-2014-0012","title":"Insecure Temporary File in Jinja2","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.","descriptionLong":"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.","published":"2014-05-19T14:00:00.000Z","updated":"2026-10-05T10:26:49.999607416Z","reserved":"2013-12-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"jinja2","purl":"pkg:pypi/jinja2","ranges":["<2.7.2","<2.7.3"],"fixed":["2.7.2","2.7.3"],"advisory":"GHSA-fqh9-2qgg-h84h"}],"cwes":["CWE-264","CWE-377"],"aliases":["GHSA-fqh9-2qgg-h84h","PYSEC-2014-82"],"references":[{"url":"https://github.com/mitsuhiko/jinja2/pull/292","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"http://secunia.com/advisories/56328","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421","tags":["x_refsource_MISC","x_transferred","report","web"]},{"url":"http://secunia.com/advisories/60738","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","evidence","fix","web"]},{"url":"https://github.com/mitsuhiko/jinja2/pull/296","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://seclists.org/oss-sec/2014/q1/73","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0012","tags":["advisory"]},{"url":"https://github.com/pallets/jinja2/pull/292","tags":["web"]},{"url":"https://github.com/pallets/jinja2/pull/296","tags":["web"]},{"url":"https://github.com/pallets/jinja/commit/acb672b6a179567632e032f547582f30fa2f4aa7","tags":["web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747","tags":["web"]},{"url":"https://github.com/pallets/jinja2","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-82.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fqh9-2qgg-h84h","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0043,"epssPercentile":0.37991,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2014-0012","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0012","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2014-0012","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fqh9-2qgg-h84h","ok":true,"note":"GHSA-fqh9-2qgg-h84h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2014-0012","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}