Live threats

All CVEs / Djangoproject

CVE-2021-44420Djangoproject Django

High 7.3 No auth needed

Priority
59
CVSS 3.1
7.3
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Dec 8, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 2.2a1 < 2.2.25 2.2.25 pip install "django>=2.2.25"
PyPI django ≥ 3.0a1 < 3.1.14 3.1.14 pip install "django>=3.1.14"
PyPI django ≥ 3.2a1 < 3.2.10 3.2.10 pip install "django>=3.2.10"
PyPI django ≥ 2.2 < 2.2.25 2.2.25 pip install "django>=2.2.25"
PyPI django ≥ 3.1 < 3.1.14 3.1.14 pip install "django>=3.1.14"
PyPI django ≥ 3.2 < 3.2.10 3.2.10 pip install "django>=3.2.10"

Per OSV / GitHub Advisories (GHSA-v6rh-hp5x-86rv, PYSEC-2021-439). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 2.2 < 2.2.25
djangoprojectdjango≥ 3.1 < 3.1.14
djangoprojectdjango≥ 3.2 < 3.2.10
redhatsatellite6.0
debiandebian_linux10.0
debiandebian_linux11.0
canonicalubuntu_linux20.04
canonicalubuntu_linux21.04
canonicalubuntu_linux21.10
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.