Advisory

GHSA-8r7q-cvjq-x353

Also known as: CVE-2014-1402, PYSEC-2014-8

Summary

Incorrect Privilege Assignment in Jinja2

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 04:04 UTC
Modified
2024-09-24 18:48 UTC

Affected packages and fixes

jinja2

PyPI · All systems

Affected

  • introduced 0, fixed 2.7.2 (ecosystem)

Fixed versions

2.7.2

Fix

  • Fixed version 2.7.2
    pip install --upgrade jinja2==2.7.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences