Skip to content
OpenAdvisories
Critical USN-6946-1 4 CVEs

python-django vulnerabilities

Published Aug 6, 2024 · Updated Apr 27, 2026

Summary

It was discovered that Django incorrectly handled certain strings in
floatformat function. An attacker could possibly use this issue to
cause a memory exhaustion. (CVE-2024-41989)

It was discovered that Django incorrectly handled very large inputs.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2024-41990)

It was discovered that Django in AdminURLFieldWidget incorrectly
handled certain inputs with a very large number of Unicode characters.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2024-41991)

It was discovered that Django incorrectly handled certain JSON objects.
An attacker could possibly use this issue to cause a potential SQL
injection. This issue only affected Ubuntu 22.04 LTS, and Ubuntu 24.04
LTS. (CVE-2024-42005)

Fixed packages 4

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS python-django 2:2.2.12-1ubuntu0.24
Ubuntu · 22.04 LTS 22.04:LTS python-django 2:3.2.12-2ubuntu1.13
Ubuntu · 24.04 LTS 24.04:LTS python-django 3:4.2.11-1ubuntu1.2
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS python-django 1:1.11.11-1ubuntu1.21+esm6

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://ubuntu.com/security/CVE-2024-41989
  • report
    https://ubuntu.com/security/CVE-2024-41990
  • report
    https://ubuntu.com/security/CVE-2024-41991
  • report
    https://ubuntu.com/security/CVE-2024-42005