Skip to content
OpenAdvisories
Critical SUSE-SU-2024:2817-1 6 CVEs

Security update for python-Django

Published Aug 7, 2024 · Updated Feb 4, 2026

Summary

This update for python-Django fixes the following issues:

- CVE-2024-42005: Fixed SQL injection in QuerySet.values() and values_list() (bsc#1228629)
- CVE-2024-41989: Fixed Memory exhaustion in django.utils.numberformat.floatformat() (bsc#1228630)
- CVE-2024-41990: Fixed denial-of-service vulnerability in django.utils.html.urlize() (bsc#1228631)
- CVE-2024-41991: Fixed another denial-of-service vulnerability in django.utils.html.urlize() (bsc#1228632)
- CVE-2022-28346: Fixed SQL injection in QuerySet.annotate(),aggregate() and extra() (bsc#1198398)
- CVE-2019-12308: Fixed XSS in AdminURLFieldWidget (bsc#1136468)

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 15.5 python-Django 2.0.7-150000.1.27.1

Vulnerabilities 6

  • Critical 9.8
    CVE-2022-28346 Public exploit EPSS 19%

    SQL Injection in Django

    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 pass…

  • Critical 9.8

    Django SQL injection vulnerability

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.

  • High 7.5

    Django memory consumption vulnerability

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The floatformat template filter is subject to significant memory consumption when given a string representation of a number in scientific notation with a large exponent.

  • High 7.5

    Django vulnerable to a denial-of-service attack

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.

  • High 7.5

    Django vulnerable to denial-of-service attack

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unico…

  • Medium 6.1

    Django Cross-site Scripting in AdminURLFieldWidget

    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 sto…

References

  • report
    https://bugzilla.suse.com/1136468
  • report
    https://bugzilla.suse.com/1198398
  • report
    https://bugzilla.suse.com/1228629
  • report
    https://bugzilla.suse.com/1228630
  • report
    https://bugzilla.suse.com/1228631
  • report
    https://bugzilla.suse.com/1228632
  • web
    https://www.suse.com/security/cve/CVE-2019-12308
  • web
    https://www.suse.com/security/cve/CVE-2022-28346
  • web
    https://www.suse.com/security/cve/CVE-2024-41989
  • web
    https://www.suse.com/security/cve/CVE-2024-41990
  • web
    https://www.suse.com/security/cve/CVE-2024-41991
  • web
    https://www.suse.com/security/cve/CVE-2024-42005