Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pocoo | Jinja2 | 2.7.2 |
Related Weaknesses (CWE)
References
- http://seclists.org/oss-sec/2014/q1/73
- http://secunia.com/advisories/56328
- http://secunia.com/advisories/60738
- http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421
- https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4ExploitPatch
- https://github.com/mitsuhiko/jinja2/pull/292
- https://github.com/mitsuhiko/jinja2/pull/296
- http://seclists.org/oss-sec/2014/q1/73
- http://secunia.com/advisories/56328
- http://secunia.com/advisories/60738
- http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421
- https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4ExploitPatch
- https://github.com/mitsuhiko/jinja2/pull/292
FAQ
What is CVE-2014-0012?
CVE-2014-0012 is a vulnerability with a CVSS score of 4.4 (MEDIUM). 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...
How severe is CVE-2014-0012?
CVE-2014-0012 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2014-0012?
Check the references section above for vendor advisories and patch information. Affected products include: Pocoo Jinja2.