Advisory

PYSEC-2014-8

Also known as: CVE-2014-1402, GHSA-8r7q-cvjq-x353

Summary

The record has no summary.

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

Not rated by the source.

Dates

Published
2014-05-19 14:55 UTC
Modified
2023-11-08 03:57 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: PyPA Advisory Database · CC BY 4.0

Sources & licences