Skip to content
OpenAdvisories
High · 7.3 CVE-2021-44420 BIT-django-2021-44420EUVD-2021-0062GHSA-v6rh-hp5x-86rvPYSEC-2021-439

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

Published Dec 7, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 2:3.2.10-1 —
Debian 13 python-django 2:3.2.10-1 —
Debian 12 python-django 2:3.2.10-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS python-django 2:2.2.12-1ubuntu0.8 USN-5178-1
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman 3.1.1.21-2.el7sat RHSA-2022:5498
Red Hat Satellite Utils 6 satellite 6.11.0-2.el7sat RHSA-2022:5498
Red Hat Satellite Capsule 6 foreman 3.1.1.21-2.el7sat RHSA-2022:5498
Red Hat Satellite Capsule 6 libsolv 0.7.22-1.el7pc RHSA-2022:5498
Red Hat Satellite Capsule 6 python-django +1 3.2.13-1.el8pc RHSA-2022:5498
Red Hat Satellite Capsule 6 python-lxml 4.7.1-1.el8pc RHSA-2022:5498
Red Hat Satellite Capsule 6 python-sqlparse 0.4.2-2.el8pc RHSA-2022:5498
Red Hat Satellite Capsule 6 satellite 6.11.0-2.el7sat RHSA-2022:5498
Red Hat Satellite 6 candlepin 4.1.13-1.el7sat RHSA-2022:5498
Red Hat Satellite 6 foreman 3.1.1.21-2.el7sat RHSA-2022:5498
Red Hat Satellite 6 libsolv 0.7.22-1.el7pc RHSA-2022:5498
Red Hat Satellite 6 python-django +1 3.2.13-1.el8pc RHSA-2022:5498
Red Hat Satellite 6 python-lxml 4.7.1-1.el8pc RHSA-2022:5498
Red Hat Satellite 6 python-sqlparse 0.4.2-2.el8pc RHSA-2022:5498
Red Hat Satellite 6 rubygem-actionpack 6.0.4.7-1.el8sat RHSA-2022:5498
Red Hat Satellite 6 rubygem-puma 5.6.2-1.el8sat RHSA-2022:5498
Red Hat Satellite 6 rubygem-sidekiq 5.2.10-1.el8sat RHSA-2022:5498
Red Hat Satellite 6 satellite 6.11.0-2.el7sat RHSA-2022:5498
Red Hat Satellite 6 tfm-rubygem-actionpack 6.0.4.7-1.el7sat RHSA-2022:5498
Red Hat Satellite 6 tfm-rubygem-puma 5.6.2-1.el7sat RHSA-2022:5498
Red Hat Satellite 6 tfm-rubygem-sidekiq 5.2.10-1.el7sat RHSA-2022:5498
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhui 4 python-django +1 3.2.16-1.0.1.el8ui RHSA-2023:0742

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libdb 5.3.28-42.el8_4 RLSA-2022:5498
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP3 python-Django 2.2.28-bp153.2.3.1 openSUSE-SU-2023:0005-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-sentry-sdk 1.5.4-1.1 openSUSE-SU-2025:14702-1, openSUSE-SU-2024:11791-1
openSUSE Leap 15.3 python-Django 2.2.28-bp153.2.3.1 openSUSE-SU-2023:0005-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-django 3.2.12-r0 —
Alpine v3.23 py3-django 3.2.12-r0 —
Alpine v3.22 py3-django 3.2.12-r0 —
Alpine v3.21 py3-django 3.2.12-r0 —
Alpine v3.20 py3-django 3.2.12-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 py3-django 3.2.12-r0 —
Alpine v3.18 py3-django 3.2.12-r0 —
Alpine v3.17 py3-django 3.2.12-r0 —
Alpine v3.16 py3-django 3.2.12-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 python3-olamkit +2 1.0.2-1.el8 ELSA-2022-9341

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 2.2a1, < 2.2.25 2.2.25 GHSA-v6rh-hp5x-86rv
PyPI django >= 3.0a1, < 3.1.14 3.1.14 GHSA-v6rh-hp5x-86rv
PyPI django >= 3.2a1, < 3.2.10 3.2.10 GHSA-v6rh-hp5x-86rv
PyPI django >= 2.2, < 2.2.25 · >= 3.1, < 3.1.14 · >= 3.2, < 3.2.10 2.2.25, 3.1.14, 3.2.10 PYSEC-2021-439

Advisories 11

References