CVE-2021-44420
JSON

7.3high

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

Severity
7.3high CVSS:3.1 by NVD
Exploit likelihood
2.09% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-v6rh-hp5x-86rvBIT-DJANGO-2021-44420PYSEC-2021-439

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
django (PyPI)from 2.2a1 before 2.2.25, from 3.0a1 before 3.1.14, from 3.2a1 before 3.2.10, from 2.2 before 2.2.25, from 3.1 before 3.1.14, from 3.2 before 3.2.10GitHub Advisory Database, PyPA Advisory Database
djangoproject djangofrom 2.2 before 2.2.25, from 3.1 before 3.1.14, from 3.2 before 3.2.10NVD
redhat satellite6.0NVD
debian debian_linux10.0, 11.0NVD
canonical ubuntu_linux20.04, 21.04, 21.10NVD
fedoraproject fedora35NVD
django (Bitnami)from 2.2.0 before 2.2.25, from 3.1.0 before 3.1.14, from 3.2.0 before 3.2.10Bitnami Vulnerability Database

All scores

GitHub7.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

En Django versiones 2.2 anteriores a 2.2.25, versiones 3.1 anteriores a 3.1.14, y versiones 3.2 anteriores a 3.2.10, las peticiones HTTP para URLs con líneas nuevas al final podían omitir el control de acceso de la corriente principal basado en las rutas de las URLs

References

https://groups.google.com/forum/#%21forum/django-announceweb
https://docs.djangoproject.com/en/3.2/releases/security/advisory, patch, vendor-advisory, web
https://www.openwall.com/lists/oss-security/2021/12/07/1advisory, mailing-list, patch, third-party-advisory, web
https://www.djangoproject.com/weblog/2021/dec/07/security-releases/advisory, article, patch, vendor-advisory
https://security.netapp.com/advisory/ntap-20211229-0006/advisory, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-44420advisory, web
https://github.com/django/django/commit/d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6web
https://docs.djangoproject.com/en/3.2/releases/securityweb
https://github.com/advisories/GHSA-v6rh-hp5x-86rvadvisory
https://github.com/django/djangopackage
https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-439.yamlweb

Sources

SourceRecordLicence
CVE ListCVE-2021-44420 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-v6rh-hp5x-86rv changed 2024-11-19CC-BY-4.0
NVDCVE-2021-44420 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-439 changed 2023-12-06CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-DJANGO-2021-44420 changed 2026-09-08Apache-2.0