Access Restriction Bypass Affecting jinja2 package, versions <2.7.2-1


Severity

Recommended
low

Based on Debian security rating

    Threat Intelligence

    EPSS
    0.04% (11th 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 ID SNYK-DEBIANUNSTABLE-JINJA2-317824
  • published 19 May 2014
  • disclosed 19 May 2014

How to fix?

Upgrade Debian:unstable jinja2 to version 2.7.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jinja2 package and not the jinja2 package as distributed by Debian. See How to fix? for Debian:unstable 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 Scores

version 3.1
Expand this section

NVD

5.3 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

Red Hat

5.3 medium