ID CVE-2021-31542
Summary In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names.
References
Vulnerable Configurations
  • cpe:2.3:a:djangoproject:django:3.2:-:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.2:-:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.2:alpha1:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.2:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.2:beta1:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.2:beta1:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.2:rc1:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.2:rc1:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.1:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:3.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:3.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.5:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.6:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.7:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.7:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.8:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.8:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.9:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.10:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.11:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.13:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.13:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.14:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.14:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.15:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.16:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.16:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.17:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.17:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.18:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.18:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.19:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.19:*:*:*:*:*:*:*
  • cpe:2.3:a:djangoproject:django:2.2.20:*:*:*:*:*:*:*
    cpe:2.3:a:djangoproject:django:2.2.20:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 25-02-2022 - 18:40)
Impact:
Exploitability:
CWE CWE-434
CAPEC
  • Accessing Functionality Not Properly Constrained by ACLs
    In applications, particularly web applications, access to functionality is mitigated by an authorization framework. This framework maps Access Control Lists (ACLs) to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application, or can run queries for data that they otherwise not supposed to.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:N/A:N
Last major update 25-02-2022 - 18:40
Published 05-05-2021 - 15:15
Last modified 25-02-2022 - 18:40
Back to Top