Insecure Temporary File Affecting python-jinja2 package, versions <0:2.2.1-2.el6_5


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.37% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-PYTHONJINJA2-2098025
  • published26 Jul 2021
  • disclosed9 Jan 2014

Introduced: 9 Jan 2014

CVE-2014-1402  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade Centos:6 python-jinja2 to version 0:2.2.1-2.el6_5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-jinja2 package and not the python-jinja2 package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1