Advisory

PYSEC-2021-439

Also known as: BIT-django-2021-44420, CVE-2021-44420, GHSA-v6rh-hp5x-86rv

Summary

The record has no summary.

Details

In Django 2.2 before 2.2.25, 3.1 before 3.1.14, and 3.2 before 3.2.10, HTTP requests for URLs with trailing newlines could bypass upstream access control based on URL paths.

Severity

Not rated by the source.

Dates

Published
2021-12-08 00:15 UTC
Modified
2023-12-06 01:01 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 2.2, fixed 2.2.25, introduced 3.1, fixed 3.1.14, introduced 3.2, fixed 3.2.10 (ecosystem)

Fixed versions

2.2.25, 3.1.14, 3.2.10

Fix

  • Fixed version 2.2.25
    pip install --upgrade django==2.2.25
  • Fixed version 3.1.14
    pip install --upgrade django==3.1.14
  • Fixed version 3.2.10
    pip install --upgrade django==3.2.10

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