{"id":"CVE-2021-44420","aliases":["CVE-2021-44420","GHSA-v6rh-hp5x-86rv","BIT-DJANGO-2021-44420","PYSEC-2021-439"],"related":[],"kind":"vulnerability","state":"published","title":"Potential bypass of an upstream access control based on URL paths in Django","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-12-07T22:55:40.000Z","modified":"2026-09-08T08:46:24.376Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.2a1","status":"affected","fixed":"2.2.25"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0a1","status":"affected","fixed":"3.1.14"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.2a1","status":"affected","fixed":"3.2.10"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.2","fixed":"2.2.25"},{"status":"affected","introduced":"3.1","fixed":"3.1.14"},{"status":"affected","introduced":"3.2","fixed":"3.2.10"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"6.0"}],"vendor":"redhat","product":"satellite","cpe":"cpe:2.3:o:redhat:satellite:6.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"20.04"},{"status":"affected","version":"21.04"},{"status":"affected","version":"21.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.2","status":"affected","fixed":"2.2.25"},{"type":"ecosystem","introduced":"3.1","status":"affected","fixed":"3.1.14"},{"type":"ecosystem","introduced":"3.2","status":"affected","fixed":"3.2.10"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.2.25"},{"type":"semver","introduced":"3.1.0","status":"affected","fixed":"3.1.14"},{"type":"semver","introduced":"3.2.0","status":"affected","fixed":"3.2.10"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://docs.djangoproject.com/en/3.2/releases/security/","tags":["advisory","patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://www.openwall.com/lists/oss-security/2021/12/07/1","tags":["advisory","mailing-list","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2021/dec/07/security-releases/","tags":["advisory","article","patch","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20211229-0006/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44420","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/django/django/commit/d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6","tags":["web"],"sources":["ghsa"]},{"url":"https://docs.djangoproject.com/en/3.2/releases/security","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-v6rh-hp5x-86rv","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-439.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://groups.google.com/forum/#!forum/django-announce","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20211229-0006","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2021/dec/07/security-releases","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-44420","url":"https://www.cve.org/CVERecord?id=CVE-2021-44420","licence":"CVE Terms of Use","modified":"2024-08-04T04:17:25.193Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v6rh-hp5x-86rv","url":"https://github.com/advisories/GHSA-v6rh-hp5x-86rv","licence":"CC-BY-4.0","modified":"2024-11-19T05:35:04.095Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-44420","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44420","licence":"Public domain","modified":"2026-06-17T04:12:19.117Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-439","url":"https://osv.dev/vulnerability/PYSEC-2021-439","licence":"CC-BY-4.0","modified":"2023-12-06T01:01:41.266Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2021-44420","url":"https://osv.dev/vulnerability/BIT-DJANGO-2021-44420","licence":"Apache-2.0","modified":"2026-09-08T08:46:24.376Z"}],"updatedAt":"2026-11-25T22:24:36.172Z","epss":{"score":0.02088,"percentile":0.82133,"date":"2026-12-01T12:00:22.000Z"}}