Advisory

GHSA-v6rh-hp5x-86rv

Also known as: BIT-django-2021-44420, CVE-2021-44420, PYSEC-2021-439

Summary

Potential bypass of an upstream access control based on URL paths in Django

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. This issue has low severity, according to the Django security policy.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-09 19:09 UTC
Modified
2024-11-19 05:35 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 2.2a1, fixed 2.2.25 (ecosystem)

Fixed versions

2.2.25

Fix

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

django

PyPI · All systems

Affected

  • introduced 3.0a1, fixed 3.1.14 (ecosystem)

Fixed versions

3.1.14

Fix

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

django

PyPI · All systems

Affected

  • introduced 3.2a1, fixed 3.2.10 (ecosystem)

Fixed versions

3.2.10

Fix

  • 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences