Advisory

GHSA-fqh9-2qgg-h84h

Also known as: CVE-2014-0012, PYSEC-2014-82

Summary

Insecure Temporary File in Jinja2

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 04:01 UTC
Modified
2024-09-23 20:03 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