CVE-2014-0012: Insecure Temporary File in Jinja2
(updated )
FileSystemBytecodeCache in Jinja2 prior to version 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.
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747
- bugzilla.redhat.com/show_bug.cgi?id=1051421
- github.com/advisories/GHSA-fqh9-2qgg-h84h
- github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7
- github.com/mitsuhiko/jinja2/pull/292
- github.com/mitsuhiko/jinja2/pull/296
- github.com/pallets/jinja/commit/acb672b6a179567632e032f547582f30fa2f4aa7
- github.com/pallets/jinja2
- github.com/pallets/jinja2/pull/292
- github.com/pallets/jinja2/pull/296
- github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-82.yaml
- nvd.nist.gov/vuln/detail/CVE-2014-0012
Detect and mitigate CVE-2014-0012 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →