Advisory

GHSA-v9qg-3j8p-r63v

Also known as: CVE-2019-14235, PYSEC-2019-14

Summary

Uncontrolled Recursion in Django

Details

An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If passed certain inputs, django.utils.encoding.uri_to_iri could lead to significant memory usage due to a recursion when repercent-encoding invalid UTF-8 octet sequences.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-08-06 01:43 UTC
Modified
2024-09-20 16:35 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.11a1, fixed 1.11.23 (ecosystem)

Fixed versions

1.11.23

Fix

  • Fixed version 1.11.23
    pip install --upgrade django==1.11.23

django

PyPI · All systems

Affected

  • introduced 2.1a1, fixed 2.1.11 (ecosystem)

Fixed versions

2.1.11

Fix

  • Fixed version 2.1.11
    pip install --upgrade django==2.1.11

django

PyPI · All systems

Affected

  • introduced 2.2a1, fixed 2.2.4 (ecosystem)

Fixed versions

2.2.4

Fix

  • Fixed version 2.2.4
    pip install --upgrade django==2.2.4

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