p PatchFirst

PatchFirst · Latest vulnerabilities

python-django vulnerabilities · Page 3

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 60

  1. CVE-2024-39330

    Medium · CVSS 4.3EPSS 1.01%No fix published

    CVE-2024-39330

    An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. Derived classes of the django.core.files.storage.Storage base class, when they override generate_filename() without replicating the file-path validations from the parent class, potentially allow directory traversal via certain inputs during a save() call. (Built-in Storage sub-classes are unaffected.)

    Published Updated
  2. CVE-2024-27351

    Medium · CVSS 5.3EPSS 1.85%No fix published

    CVE-2024-27351

    In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.

    Published Updated
  3. CVE-2023-43665

    High · CVSS 8.7EPSS 1.46%No fix published

    CVE-2023-43665

    In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.

    Published Updated
  4. CVE-2023-31047

    Critical · CVSS 9.8EPSS 1.39%Fix available

    CVE-2023-31047

    In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last uploaded file was validated). However, Django's "Uploading multiple files" documentation suggested otherwise.

    • Update to 1.8.7-1ubuntu5.15+esm7
    Published Updated
  5. CVE-2023-24580

    High · CVSS 7.5EPSS 62.58%No fix published

    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.

    Published Updated
  6. 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 1.8.7-1ubuntu5.15+esm6
    Published Updated
  7. 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 1.8.7-1ubuntu5.15+esm5
    Published Updated
  8. CVE-2021-45115

    High · CVSS 8.7EPSS 2.6%No fix published

    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.

    Published Updated
  9. CVE-2021-45116

    High · CVSS 7.5EPSS 1.98%No fix published

    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.

    Published Updated
  10. 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 1.8.7-1ubuntu5.15+esm3
    Published Updated
  11. CVE-2019-12308

    Medium · CVSS 6.1EPSS 2.4%No fix published

    CVE-2019-12308

    An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.

    Published Updated

Check your server

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

Check your server →