CVE-2014-1402: Incorrect Privilege Assignment in Jinja2
(updated )
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.
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747
- bugzilla.redhat.com/show_bug.cgi?id=1051421
- github.com/advisories/GHSA-8r7q-cvjq-x353
- github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-8.yaml
- nvd.nist.gov/vuln/detail/CVE-2014-1402
- oss.oracle.com/pipermail/el-errata/2014-June/004192.html
- web.archive.org/web/20150523060528/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2014:096/?name=MDVSA-2014:096
Code Behaviors & Features
Detect and mitigate CVE-2014-1402 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →