CVE-2014-0012 — FileSystemBytecodeCache in Jinja2 2
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.
Published
2014-05-19T14:00:00.000Z
Last modified
2024-08-06T08:58:26.479Z
01What is this 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.
02Affected products
| Vendor | Product | Versions |
|---|
| n | a / n/a | n/a |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
08Timeline
- Published: 2014-05-19T14:00:00.000Z
- Last modified: 2024-08-06T08:58:26.479Z
09References
- github.com — https://github.com/mitsuhiko/jinja2/pull/292
- secunia.com — http://secunia.com/advisories/56328
- bugzilla.redhat.com — https://bugzilla.redhat.com/show_bug.cgi?id=1051421
- secunia.com — http://secunia.com/advisories/60738
- github.com — https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4…
- github.com — https://github.com/mitsuhiko/jinja2/pull/296
- www.gentoo.org — http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml
- seclists.org — http://seclists.org/oss-sec/2014/q1/73
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →