Vulnerability Name:

CVE-2021-44420 (CCN-214618)

Assigned:2021-12-07
Published:2021-12-07
Updated:2022-07-12
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.
CVSS v3 Severity:7.3 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-Other
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2021-44420

Source: MISC
Type: Patch, Vendor Advisory
https://docs.djangoproject.com/en/3.2/releases/security/

Source: XF
Type: UNKNOWN
django-202144420-sec-bypass(214618)

Source: MISC
Type: Mailing List, Third Party Advisory
https://groups.google.com/forum/#!forum/django-announce

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-e7fd530688

Source: CCN
Type: oss-sec Mailing List, Tue, 7 Dec 2021 08:44:56 +0100
Django: CVE-2021-44420: Potential bypass of an upstream access control based on URL paths

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20211229-0006/

Source: CCN
Type: Django Web site
Django

Source: CONFIRM
Type: Patch, Vendor Advisory
https://www.djangoproject.com/weblog/2021/dec/07/security-releases/

Source: CONFIRM
Type: Mailing List, Patch, Third Party Advisory
https://www.openwall.com/lists/oss-security/2021/12/07/1

Vulnerable Configuration:Configuration 1:
  • cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 2.2 and < 2.2.25)
  • OR cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 3.1 and < 3.1.14)
  • OR cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 3.2 and < 3.2.10)

  • Configuration 2:
  • cpe:/o:redhat:satellite:6.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:11.0:*:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:*

  • Configuration 5:
  • cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:djangoproject:django:2.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:3.1:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:3.2:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    djangoproject django *
    djangoproject django *
    djangoproject django *
    redhat satellite 6.0
    debian debian linux 10.0
    debian debian linux 11.0
    canonical ubuntu linux 20.04
    canonical ubuntu linux 21.04
    canonical ubuntu linux 21.10
    fedoraproject fedora 35
    djangoproject django 2.2
    djangoproject django 3.1
    djangoproject django 3.2 -