Every CVE Search/ Get API key

CVE-2014-0012

Insecure Temporary File in Jinja2

4.4 MediumFix available

CVE-2014-0012 is a medium vulnerability (CVSS 4.4) in Pocoo Jinja2, published May 19, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. Fixed in jinja2 2.7.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.

Exploit likelihood

0.43%Down 0.7 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.4

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.

Record
CVE-2014-0012
CVSS 2.0
4.4 MediumAV:L/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-264
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2014-0012
Updated
2026-11-02
EUVDEUVD-2014-0024 No score

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.

Record
EUVD-2014-0024
Updated
2026-11-03
GitHub AdvisoriesGHSA-fqh9-2qgg-h84h 6.9

Insecure Temporary File in Jinja2

FileSystemBytecodeCache in Jinja2 prior to version 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.

Record
GHSA-fqh9-2qgg-h84h
CVSS 4.0
6.9 MediumCVSS: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
6.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-377
Updated
2026-11-02
OSVBELL-CVE-2014-0012 4.4

CVE-2014-0012 does not affect BellSoft software

Record
BELL-CVE-2014-0012
CVSS 2.0
4.4 MediumAV:L/AC:M/Au:N/C:P/I:P/A:P
Updated
2026-11-02
OSVGHSA-fqh9-2qgg-h84h 6.9

Insecure Temporary File in Jinja2

FileSystemBytecodeCache in Jinja2 prior to version 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.

Record
GHSA-fqh9-2qgg-h84h
CVSS 4.0
6.9 MediumCVSS: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
6.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-377
Updated
2026-11-02
Show 12 moreShow less
OSV No score

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.

Record
CVE-2014-0012
Updated
2026-11-02
OSVDEBIAN-CVE-2014-0012 No score

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.

Record
DEBIAN-CVE-2014-0012
Updated
2026-11-02
OSVopenSUSE-SU-2019:0244-1 No score

Security update for python-Jinja2

This update for python-Jinja2 fixes the following issues:

  • Update to 2.8

    • Added target parameter to urlize function.
    • Added support for followsymlinks to the file system loader.
    • The truncate filter now counts the length.
    • Added equalto filter that helps with select filters.
    • Changed cache keys to use absolute file names if available instead of load names.
    • Fixed loop length calculation for some iterators.
    • Changed how Jinja2 enforces strings to be native strings in Python 2 to work when people break their default encoding.
    • Added :func:make_logging_undefined which returns an undefined object that logs failures into a logger.
    • If unmarshalling of cached data fails the template will be reloaded now.
    • Implemented a block set tag.
    • Default cache size was incrased to 400 from a low 50.
    • Fixed is number test to accept long integers in all Python versions.
    • Changed is number to accept Decimal as a number.
    • Added a check for default arguments followed by non-default arguments. This change makes {% macro m(x, y=1, z) %}...{% endmacro %} a syntax error. The previous behavior for this code was broken anyway (resulting in the default value being applied to y).
    • Add ability to use custom subclasses of jinja2.compiler.CodeGenerator and jinja2.runtime.Context by adding two new attributes to the environment (code_generator_class and context_class) (pull request #404).
    • added support for context/environment/evalctx decorator functions on the finalize callback of the environment.
    • escape query strings for urlencode properly. Previously slashes were not escaped in that place.
    • Add 'base' parameter to 'int' filter.
  • Tests are removed from the package (not distributed in the tar.gz)

  • Use %python_version over %py_ver: better portability to RHEL

  • run testsuite during build

  • adjust dependency to use up to date package name for python-MarkupSafe

  • Update to 2.7.3 (boo#858239, CVE-2014-0012)

    • Security issue: Corrected the security fix for the cache folder.
      This fix was provided by RedHat.
  • fix package build (file selection missing)

  • avoid rebuildcycle with vim

  • update to 2.7.2:

    • Prefix loader was not forwarding the locals properly to inner loaders. This is now fixed.
    • Security issue: Changed the default folder for the filesystem cache to be user specific and read and write protected on UNIX systems. See Debian bug 734747_ for more information.
  • Require python-setuptools instead of distribute (upstreams merged)

  • Avoid 'Recommends:' on old rpm distros

  • update to 2.7.1:

  • Fixed a bug with call_filter not working properly on environment and context filters.

  • Fixed lack of Python 3 support for bytecode caches.

  • Reverted support for defining blocks in included templates as this broke existing templates for users.

  • Fixed some warnings with hashing of undefineds and nodes if Python is run with warnings for Python 3.

  • Added support for properly hashing undefined objects.

  • Fixed a bug with the title filter not working on already uppercase strings.

  • update to 2.7:

    • Choice and prefix loaders now dispatch source and template lookup separately in order to work in combination with module loaders as advertised.
    • Fixed filesizeformat.
    • Added a non-silent option for babel extraction.
    • Added urlencode filter that automatically quotes values for URL safe usage with utf-8 as only supported encoding. If applications want to change this encoding they can override the filter.
    • Added keep-trailing-newline configuration to environments and templates to optionally preserve the final trailing newline.
    • Accessing last on the loop context no longer causes the iterator to be consumed into a list.
    • Python requirement changed: 2.6, 2.7 or >= 3.3 are required now, supported by same source code, using the 'six'…
Record
openSUSE-SU-2019:0244-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10129-1 No score

python-Jinja2-2.8-1.4 on GA media

These are all security issues fixed in the python-Jinja2-2.8-1.4 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10129-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11208-1 No score

python36-Jinja2-3.0.1-3.2 on GA media

These are all security issues fixed in the python36-Jinja2-3.0.1-3.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11208-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13930-1 No score

python310-Jinja2-3.1.4-1.1 on GA media

These are all security issues fixed in the python310-Jinja2-3.1.4-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13930-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11992-1 No score

python313-Jinja2-3.1.6-2.4 on GA media

These are all security issues fixed in the python313-Jinja2-3.1.6-2.4 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11992-1
Updated
2026-11-02
OSVPYSEC-2014-82 No score

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.

Record
PYSEC-2014-82
Updated
2026-11-02
OSVSUSE-FU-2022:0444-1 No score

Feature update for venv-salt-minion

This feature update for venv-salt-minion provides the following changes:

  • Introduce venv-salt-minion.
  • Track already fixed issues.
Record
SUSE-FU-2022:0444-1
Updated
2026-11-02
OSVSUSE-FU-2022:0445-1 No score

Feature update for venv-salt-minion

This feature update for venv-salt-minion provides the following changes:

  • Introduce venv-salt-minion.
  • Mention fixed issues provided with the bundle.
Record
SUSE-FU-2022:0445-1
Updated
2026-11-02
OSVSUSE-SU-2015:1336-1 No score

Security update for python-Jinja2

The python-Jinja2 package was updated to version 2.7.3 to fix a security issues and some build problems.

The following vulnerabilities were fixed:

  • Update to 2.7.3 (bnc#858239, CVE-2014-0012)
    • Security issue: Corrected the security fix for the cache folder.
      This fix was provided by RedHat.

The following build issues were fixed:

  • run testsuite during build
  • adjust dependency to use up to date package name for python-MarkupSafe
  • fix package build (file selection missing)
Record
SUSE-SU-2015:1336-1
Updated
2026-11-02
OSVUBUNTU-CVE-2014-0012 No score

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.

Record
UBUNTU-CVE-2014-0012
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
jinja2
PyPI
before 2.7.2
2.7.2
jinja2
Debian:12
before 2.7.2-2
2.7.2-2
jinja2
Debian:13
before 2.7.2-2
2.7.2-2
jinja2
Debian:14
before 2.7.2-2
2.7.2-2
jinja2
PyPI
before 2.7.2, plus listed versions
2.02.0rc12.12.1.12.2
Show 14 moreShow less
2.2.12.32.3.12.42.4.12.52.5.12.5.22.5.32.5.42.5.52.62.72.7.1
2.7.2
jinja2
PyPI
before 2.7.3, plus listed versions
2.02.0rc12.12.1.12.2
Show 15 moreShow less
2.2.12.32.3.12.42.4.12.52.5.12.5.22.5.32.5.42.5.52.62.72.7.12.7.2
2.7.3
python-Jinja2
SUSE:Cloud Compute Node for SUSE Linux Enterprise 12 5
before 2.7.3-4.1
2.7.3-4.1
python-Jinja2
SUSE:Enterprise Storage 1.0
before 2.7.3-4.1
2.7.3-4.1
python-Jinja2
SUSE:Package Hub 12
before 2.8-2.1
2.8-2.1
python-Jinja2
openSUSE:Tumbleweed
before 2.8-1.4
2.8-1.4
python-Jinja2
openSUSE:Tumbleweed
before 3.0.1-3.2
3.0.1-3.2
python-Jinja2
openSUSE:Tumbleweed
before 3.1.4-1.1
3.1.4-1.1
python-Jinja2
openSUSE:Tumbleweed
before 3.1.6-2.4
3.1.6-2.4

History

History
WhenChangedSources
2026-11-03affected
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 492 references and the rest of 1 source description. The JSON record has them.

MoveEnter Open