CVE-2014-1402
What it is
The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with __jinja2_ in /tmp.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 4.4 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Pocoo jinja2 ≤ 2.7.1
- Pocoo jinja2 2.0
- Pocoo jinja2 2.1
- Pocoo jinja2 2.1.1
- Pocoo jinja2 2.2
- Pocoo jinja2 2.2.1
- Pocoo jinja2 2.3
- Pocoo jinja2 2.3.1
Attack profile CVSS 2.0 · 4.4
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2014-1402.md and follow it. Check whether this project is affected by CVE-2014-1402. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://advisories.mageia.org/MGASA-2014-0028.html
- http://jinja.pocoo.org/docs/changelog/
- http://openwall.com/lists/oss-security/2014/01/10/2
- http://openwall.com/lists/oss-security/2014/01/10/3
- http://rhn.redhat.com/errata/RHSA-2014-0747.html
- http://rhn.redhat.com/errata/RHSA-2014-0748.html
- http://secunia.com/advisories/56287
- http://secunia.com/advisories/58783
- http://secunia.com/advisories/58918
- http://secunia.com/advisories/59017
- http://secunia.com/advisories/60738
- http://secunia.com/advisories/60770
- http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:096
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421
- https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html
- http://advisories.mageia.org/MGASA-2014-0028.html
- http://jinja.pocoo.org/docs/changelog/
- http://openwall.com/lists/oss-security/2014/01/10/2
- http://openwall.com/lists/oss-security/2014/01/10/3
- http://rhn.redhat.com/errata/RHSA-2014-0747.html
- http://rhn.redhat.com/errata/RHSA-2014-0748.html
- http://secunia.com/advisories/56287
- http://secunia.com/advisories/58783