p PatchFirst

PatchFirst · Latest vulnerabilities

python-django vulnerabilities · Page 4

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

RSS ↗
Filter vulnerabilities
Clear filters

Vulnerabilities: 160

  1. CVE-2023-24580

    High · CVSS 7.5EPSS 62.58%Fix available

    CVE-2023-24580

    An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0 before 4.0.10, and 4.1 before 4.1.7. Passing certain inputs (e.g., an excessive number of parts) to multipart forms could result in too many open files or memory exhaustion, and provided a potential vector for a denial-of-service attack.

    • Update to 3:3.2.18-1
    Published Updated
  2. CVE-2023-23969

    High · CVSS 7.5EPSS 47.38%Fix available

    CVE-2023-23969

    In Django 3.2 before 3.2.17, 4.0 before 4.0.9, and 4.1 before 4.1.6, the parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if the raw value of Accept-Language headers is very large.

    • Update to 3:3.2.17-1
    Published Updated
  3. 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:3.2.15-1
    Published Updated
  4. 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 2:4.0.6-1
    Published Updated
  5. 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:3.2.13-1
    Published Updated
  6. 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:3.2.13-1
    Published Updated
  7. CVE-2021-45115

    High · CVSS 7.5EPSS 2.42%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:3.2.11-1
    Published Updated
  8. CVE-2021-45116

    High · CVSS 7.5EPSS 1.84%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:3.2.11-1
    Published Updated
  9. CVE-2021-33203

    Medium · CVSS 4.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.2.24-1
    Published Updated
  10. CVE-2021-33571

    High · CVSS 7.5EPSS 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.2.24-1
    Published Updated
  11. 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.2.22-1
    Published Updated
  12. CVE-2021-23336

    Medium · CVSS 5.9EPSS 40.74%Fix available

    Web Cache Poisoning

    The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server. This can result in malicious requests being cached as completely safe ones, as the proxy would usually not see the semicolon as a separator, and therefore would not in

    • Update to 2:2.2.19-1
    Published Updated

Check your server

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

Check your server →