CVE-2014-0012
Pocoo Jinja2 vulnerability
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.
Affected products
Jinja2. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pocoo Jinja2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7 · Exploit
- seclists.org/oss-sec/2014/q1/73
- secunia.com/advisories/56328
- secunia.com/advisories/60738
- www.gentoo.org/security/en/glsa/glsa-201408-13.xml
- bugzilla.redhat.com/show_bug.cgi?id=1051421
- github.com/mitsuhiko/jinja2/pull/292
- github.com/mitsuhiko/jinja2/pull/296
- nvd.nist.gov/vuln/detail/CVE-2014-0012
- cve.org/CVERecord?id=CVE-2014-0012
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.