CVE-2021-44420 in Canonical Ubuntu Linux and 4 more products
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.
Affects 5 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 20.04 21.04 21.10 |
| Debian | Debian Linux | 10.0 11.0 |
| Djangoproject | Django | ≥ 2.2, < 2.2.25 ≥ 3.1, < 3.1.14 ≥ 3.2, < 3.2.10 |
| Fedoraproject | Fedora | 35 |
| Redhat | Satellite | 6.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-44420 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-300955-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| Published | 2021-12-08 |
| Last modified | 2024-11-21 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in Django versions 2.2 before 2.2.25, 3.1 before 3.1.14, and 3.2 before 3.2.10 allows HTTP requests with trailing newlines in URLs to bypass upstream access control based on URL paths.
An attacker can craft HTTP requests with URLs that include trailing newlines. This can cause the application to misinterpret the URL path, potentially bypassing intended access controls and allowing unauthorized access to resources.
Questions
What is CVE-2021-44420?
A vulnerability in Django versions 2.2 before 2.2.25, 3.1 before 3.1.14, and 3.2 before 3.2.10 allows HTTP requests with trailing newlines in URLs to bypass upstream access control based on URL paths.
What is the CVSS score for CVE-2021-44420?
CVE-2021-44420 has CVSS 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 2.1%.
Is CVE-2021-44420 actively exploited?
No confirmed active exploitation of CVE-2021-44420 as of 2026-05-30.
How do I remediate CVE-2021-44420?
Priority: HIGH. Advisory: https://docs.djangoproject.com/en/3.2/releases/security/ PSIRT: [email protected]
What systems are affected by CVE-2021-44420?
CVE-2021-44420 affects Canonical Ubuntu Linux; Debian Debian Linux; Djangoproject Django; Fedoraproject Fedora; Redhat Satellite.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.