Skip to content
OpenAdvisories
Critical openSUSE-SU-2024:0272-1 4 CVEs

Security update for python-Django

Published Aug 30, 2024 · Updated Feb 4, 2026

Summary

This update for python-Django fixes the following issues:

* CVE-2024-42005: Fixed potential SQL injection in QuerySet.values() and values_list() (boo#1228629)
* CVE-2024-41989: Fixed memory exhaustion in django.utils.numberformat.floatformat() (boo#1228630)
* CVE-2024-41990: Fixed potential denial-of-service vulnerability in django.utils.html.urlize() (boo#1228631)
* CVE-2024-41991: Fixed potential denial-of-service vulnerability in django.utils.html.urlize() and AdminURLFieldWidget (boo#1228632)

Fixed packages 2

ReleasePackageFixed in
openSUSE · Leap 15.5 python-Django 2.2.28-bp155.7.15.1
SUSE · Package Hub 15 SP5 python-Django 2.2.28-bp155.7.15.1

Vulnerabilities 4

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

References

  • 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-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