p PatchFirst

PatchFirst · Latest vulnerabilities

django vulnerabilities · Page 4

Vulnerabilities published for django in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 162

  1. CVE-2022-36359

    High · CVSS 8.8EPSS 0.94%Fix available

    CVE-2022-36359

    An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename is derived from user-supplied input.

    • Update to 3.2.15
    • Update to 4.0.7
    Published Updated
  2. CVE-2022-34265

    Critical · CVSS 9.8EPSS 73.61%Fix available

    CVE-2022-34265

    An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected.

    • Update to 3.2.14
    • Update to 4.0.6
    Published Updated
  3. CVE-2022-28347

    Critical · CVSS 9.8EPSS 2.94%Fix available

    CVE-2022-28347

    A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing the injection payload in an option name.

    • Update to 2.2.28
    • Update to 3.2.13
    • Update to 4.0.4
    Published Updated
  4. CVE-2022-28346

    Critical · CVSS 9.8EPSS 18.66%Fix available

    CVE-2022-28346

    An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.

    • Update to 2.2.28
    • Update to 3.2.13
    • Update to 4.0.4
    Published Updated
  5. CVE-2021-45115

    High · CVSS 8.7EPSS 2.6%Fix available

    CVE-2021-45115

    An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. UserAttributeSimilarityValidator incurred significant overhead in evaluating a submitted password that was artificially large in relation to the comparison values. In a situation where access to user registration was unrestricted, this provided a potential vector for a denial-of-service attack.

    • Update to 2.2.26
    • Update to 3.2.11
    • Update to 4.0.1
    Published Updated
  6. CVE-2021-45116

    High · CVSS 7.5EPSS 1.98%Fix available

    CVE-2021-45116

    An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure, or an unintended method call, if passed a suitably crafted key.

    • Update to 2.2.26
    • Update to 3.2.11
    • Update to 4.0.1
    Published Updated
  7. CVE-2021-33203

    Medium · CVSS 6.9EPSS 2.74%Fix available

    CVE-2021-33203

    Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.

    • Update to 2.2.24
    • Update to 3.1.12
    • Update to 3.2.4
    Published Updated
  8. CVE-2021-33571

    High · CVSS 8.7EPSS 5.26%Fix available

    CVE-2021-33571

    In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address, and validate_ipv46_address do not prohibit leading zero characters in octal literals. This may allow a bypass of access control that is based on IP addresses. (validate_ipv4_address and validate_ipv46_address are unaffected with Python 3.9.5+..) .

    • Update to 2.2.24
    • Update to 3.1.12
    • Update to 3.2.4
    Published Updated
  9. CVE-2021-32052

    Medium · CVSS 6.1EPSS 3.17%Fix available

    CVE-2021-32052

    In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the URLField form field is used). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers.

    • Update to 2.2.22
    • Update to 3.1.10
    • Update to 3.2.2
    Published Updated
  10. CVE-2021-3281

    Medium · CVSS 6.9EPSS 7.61%Fix available

    CVE-2021-3281

    In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with absolute paths or relative paths with dot segments.

    • Update to 2.2.18
    • Update to 3.0.12
    • Update to 3.1.6
    Published Updated
  11. CVE-2020-24583

    High · CVSS 8.7EPSS 3.97%Fix available

    CVE-2020-24583

    An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when Python 3.7+ is used). FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files. It was also not applied to intermediate-level collected static directories when using the collectstatic management command.

    • Update to 2.2.16
    • Update to 3.0.10
    • Update to 3.1.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →