Advisory

GHSA-hj2j-77xm-mc5v

Also known as: CVE-2016-10745, PYSEC-2019-220

Summary

Jinja2 sandbox escape vulnerability

Details

In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-04-10 14:30 UTC
Modified
2024-09-24 21:04 UTC

Affected packages and fixes

jinja2

PyPI · All systems

Affected

  • introduced 0, fixed 2.8.1 (ecosystem)

Fixed versions

2.8.1

Fix

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

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