Access Restriction Bypass Affecting jinja2 package, versions <2.7.2-2
Threat Intelligence
EPSS
0.04% (6th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIANUNSTABLE-JINJA2-317829
- published 19 May 2014
- disclosed 19 May 2014
Introduced: 19 May 2014
CVE-2014-0012 Open this link in a new tabHow to fix?
Upgrade Debian:unstable jinja2 to version 2.7.2-2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream jinja2 package and not the jinja2 package as distributed by Debian.
See How to fix? for Debian:unstable relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2014-0012
- http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml
- https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7
- https://github.com/mitsuhiko/jinja2/pull/292
- https://github.com/mitsuhiko/jinja2/pull/296
- http://seclists.org/oss-sec/2014/q1/73
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421
- http://secunia.com/advisories/56328
- http://secunia.com/advisories/60738
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2014-0012
CVSS Scores
version 3.1