Vulnerability Name:

CVE-2021-45452 (CCN-216624)

Assigned:2021-12-21
Published:2022-01-04
Updated:2022-02-11
Summary:Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are directly passed to it.
CVSS v3 Severity:5.3 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
4.6 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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): Low
Integrity (I): None
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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:L/I:N/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): Low
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-22
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2021-45452

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

Source: XF
Type: UNKNOWN
django-cve202145452-dir-traversal(216624)

Source: MISC
Type: 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, 4 Jan 2022 11:06:35 +0100
Django security releases issued: 4.0.1, 3.2.11, and 2.2.26 (Multiple CVEs)

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

Source: CCN
Type: Django Web site
Django security releases issued: 4.0.1, 3.2.11, and 2.2.26

Source: CONFIRM
Type: Patch, Vendor Advisory
https://www.djangoproject.com/weblog/2022/jan/04/security-releases/

Vulnerable Configuration:Configuration 1:
  • cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 4.0 and < 4.0.1)
  • OR cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 3.2 and < 3.2.11)
  • OR cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 2.2 and < 2.2.26)

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

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

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:113242
    P
    python310-Django-4.0.1-1.1 on GA media (Moderate)
    2022-01-17
    BACK
    djangoproject django *
    djangoproject django *
    djangoproject django *
    fedoraproject fedora 35
    djangoproject django 2.2
    djangoproject django 3.2 -