python-jinja2: FileSystemBytecodeCache insecure cache temporary file use, incorrect CVE-2014-1402 fix
Published May 19, 2014
6.9
MEDIUMCVSS 4.0
EPSS 0.43%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 6
python-jinja2
Not affected
Red Hat Enterprise Linux 7
python-jinja2
Not affected
Red Hat OpenStack Platform 4
python-jinja2-26
Not affected
Red Hat Software Collections
python27-python-jinja2
Not affected
Red Hat Software Collections
python33-python-jinja2
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | python-jinja2 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | python-jinja2 | Not affected | n/a |
| Red Hat OpenStack Platform 4 | python-jinja2-26 | Not affected | n/a |
| Red Hat Software Collections | python27-python-jinja2 | Not affected | n/a |
| Red Hat Software Collections | python33-python-jinja2 | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. This issue did not affect the versions of python-jinja2 as shipped with Red Hat Enterprise Linux 6 as it did not include the patch that introduced this flaw.
Metrics
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.43% (0.00434) | 35.42th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.43% (0.00430) | 34.12th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.11% (0.00106) | 26.26th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.10% (0.01104) | 54.09th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.10% (0.01104) | 52.45th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.10% (0.01104) | 50.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.10% (0.01104) | 28.85th | v2 (v2022.01.01) |
References (18)
- http://seclists.org/oss-sec/2014/q1/73 mailing-listx_refsource_MLIST
- http://secunia.com/advisories/56328 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/60738 third-party-advisoryx_refsource_SECUNIA
- http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml vendor-advisoryx_refsource_GENTOO
- https://access.redhat.com/security/cve/CVE-2014-0012 Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747
- https://bugzilla.redhat.com/show_bug.cgi?id=1051421 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=1052102 Issue Tracking
- https://github.com/advisories/GHSA-fqh9-2qgg-h84h Advisory
- https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7 x_refsource_MISCExploitPatch
- https://github.com/mitsuhiko/jinja2/pull/292 x_refsource_MISC
- https://github.com/mitsuhiko/jinja2/pull/296 x_refsource_MISC
- https://github.com/pallets/jinja/commit/acb672b6a179567632e032f547582f30fa2f4aa7
- https://github.com/pallets/jinja2/pull/292
- https://github.com/pallets/jinja2/pull/296
- https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-82.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2014-0012
- https://www.cve.org/CVERecord?id=CVE-2014-0012
Change history (0)
No recorded changes yet.