CVE-2021-44420 Potential bypass of an upstream access control based on URL paths in Django
Attackers can bypass upstream access controls by using URLs with trailing newlines, potentially accessing restricted resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-44420?
CVE-2021-44420 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 7 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2021-44420?
8 open source packages ship an affected version, including django and Django. It affects 5 products.
| Package | Affected | Fixed in |
|---|---|---|
django Bitnami | From 2.2.0 | 2.2.25, 3.1.14, 3.2.10 |
django PyPI | From 2.2 | 2.2.25, 3.1.14, 3.2.10 |
django PyPI | From 2.2a1 | 2.2.25 |
django PyPI | From 3.0a1 | 3.1.14 |
django PyPI | From 3.2a1 | 3.2.10 |
Django PyPI | From 2.2a1 | 2.2.25 |
2 more packages
Django PyPI | From 3.0a1 | 3.1.14 |
Django PyPI | From 3.2a1 | 3.2.10 |
Linux distribution packages (2)
python-sentry-sdk openSUSE:Tumbleweed | All versions | 1.5.4-1.1 |
python-sentry-sdk openSUSE:Tumbleweed | All versions | 2.20.0-1.1 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Djangoproject Django, Fedoraproject Fedora, Redhat Satellite.
How do I fix CVE-2021-44420?
Upgrade django to a fixed version for your release line: 2.2.25, 3.1.14 or 3.2.10.
Is CVE-2021-44420 being exploited?
There is no known exploitation of CVE-2021-44420 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as BIT-django-2021-44420, DEBIAN-CVE-2021-44420, GHSA-v6rh-hp5x-86rv, MGASA-2021-0552, PYSEC-2021-439, UBUNTU-CVE-2021-44420 and 3 more.