CVE-2014-1402Pocoo Jinja2
Medium 4.4
Follow: this CVE · Pocoo · Pocoo Jinja2 We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 2.0
- 4.4
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 23
- Auth required
- Yes
- Published
- May 19, 2014
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:L/AC:M/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Jinja2.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | jinja2 |
< 2.7.2 |
2.7.2 |
pip install "jinja2>=2.7.2" |
| PyPI | jinja2 |
< 2.7.2 |
2.7.2 |
pip install "jinja2>=2.7.2" |
Per OSV / GitHub Advisories (GHSA-8r7q-cvjq-x353, PYSEC-2014-8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pocoo | jinja2 | ≤ 2.7.1 |
| pocoo | jinja2 | 2.0 |
| 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 |
| pocoo | jinja2 | 2.4 |
| pocoo | jinja2 | 2.4.1 |
| pocoo | jinja2 | 2.5 |
| pocoo | jinja2 | 2.5.1 |
| pocoo | jinja2 | 2.5.2 |
| pocoo | jinja2 | 2.5.3 |
| pocoo | jinja2 | 2.5.4 |
| pocoo | jinja2 | 2.5.5 |
| pocoo | jinja2 | 2.6 |
| pocoo | jinja2 | 2.7 |
Official sources
References
Links published by the sources. Open them with care.