CVE-2021-44420
HIGH 7.3CVSS 3.1Potential bypass of an upstream access control based on URL paths in Django
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.
- Published
- 8 Dec 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- BIT-django-2021-44420GHSA-v6rh-hp5x-86rvPYSEC-2021-439
- Sources
- NVDJSONOSV GHSA-v6rh-hp5x-86rvJSONOSV PYSEC-2021-439JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 2.2, < 2.2.25 | 2.2.25 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 3.1, < 3.1.14 | 3.1.14 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 3.2, < 3.2.10 | 3.2.10 |
| NVD | redhat | satellitecpe:2.3:o:redhat:satellite:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* |
= 20.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:* |
= 21.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:* |
= 21.10 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| OSV | PyPI | django | >= 2.2a1, < 2.2.25 | 2.2.25 |
| OSV | PyPI | django | >= 3.0a1, < 3.1.14 | 3.1.14 |
| OSV | PyPI | django | >= 3.2a1, < 3.2.10 | 3.2.10 |
| OSV | 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 |
References
- https://docs.djangoproject.com/en/3.2/releases/security/ · Patch, Vendor Advisory, WEB
- https://groups.google.com/forum/#%21forum/django-announce
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
- https://security.netapp.com/advisory/ntap-20211229-0006/ · Third Party Advisory, WEB
- https://www.djangoproject.com/weblog/2021/dec/07/security-releases/ · Patch, Vendor Advisory, WEB, ARTICLE
- https://www.openwall.com/lists/oss-security/2021/12/07/1 · Mailing List, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-44420 · ADVISORY
- https://github.com/django/django/commit/d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6 · WEB
- https://github.com/advisories/GHSA-v6rh-hp5x-86rv · ADVISORY
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-439.yaml · WEB
- https://groups.google.com/forum/#!forum/django-announce · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Dec 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Dec 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Dec 2021)