{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2014-1402","id":"CVE-2014-1402","title":"Incorrect Privilege Assignment in Jinja2","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.","descriptionLong":"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.","published":"2014-05-19T14:00:00.000Z","updated":"2026-06-17T00:04:51.283Z","reserved":"2014-01-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","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":"high","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"],"fixed":["2.7.2"],"advisory":"GHSA-8r7q-cvjq-x353"}],"cwes":["CWE-264","CWE-266"],"aliases":["GHSA-8r7q-cvjq-x353","PYSEC-2014-8"],"references":[{"url":"https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2014/01/10/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/59017","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/56287","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2014:096","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/58783","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/58918","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/60738","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421","tags":["x_refsource_CONFIRM","x_transferred","report","web"]},{"url":"http://secunia.com/advisories/60770","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0747.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://jinja.pocoo.org/docs/changelog/","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2014/01/10/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://advisories.mageia.org/MGASA-2014-0028.html","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0748.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-1402","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8r7q-cvjq-x353","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-8.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20150523060528/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2014:096/?name=MDVSA-2014:096","tags":["web"]},{"url":"http://jinja.pocoo.org/docs/changelog","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00373,"epssPercentile":0.31886,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2014-1402","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-1402","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2014-1402","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8r7q-cvjq-x353","ok":true,"note":"GHSA-8r7q-cvjq-x353"},{"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-1402","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}