GitHub Advisoryadvisory · PyPI
GHSA-8r7q-cvjq-x353 Incorrect Privilege Assignment in Jinja2
HIGH
Official page ↗
- Aliases
- CVE-2014-1402
- Ecosystem
- PyPI
- Packages
- Jinja2
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-266
- Reviewed
- 2022-07-07
Affected packages
• PyPI Jinja2: < 2.7.2 → fixed in 2.7.2
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`.
Related
Alias · CVE (1)
- CVE-2014-1402 The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows… vulnerability
Weakness · CWE (1)
- CWE-266 Incorrect Privilege Assignment weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-1402 advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421 web
- https://github.com/advisories/GHSA-8r7q-cvjq-x353 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-8.yaml web
- https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html web
- https://web.archive.org/web/20150523060528/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2014:096/?name=MDVSA-2014:096 web
- http://advisories.mageia.org/MGASA-2014-0028.html web
- http://jinja.pocoo.org/docs/changelog web
- http://openwall.com/lists/oss-security/2014/01/10/2 web
- http://openwall.com/lists/oss-security/2014/01/10/3 web
- http://rhn.redhat.com/errata/RHSA-2014-0747.html web
- http://rhn.redhat.com/errata/RHSA-2014-0748.html web
- http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml web