USN-7136-1: Django vulnerabilities
USN-7136-1: Django vulnerabilities
4 December 2024
Several security issues were fixed in Django.
Releases
Ubuntu 24.10 Ubuntu 24.04 LTS Ubuntu 22.04 LTS Ubuntu 20.04 LTS
Packages
python-django - High-level Python web development framework
Details
jiangniao discovered that Django incorrectly handled the API to strip tags.
A remote attacker could possibly use this issue to cause Django to
consume resources, leading to a denial of service. (CVE-2024-53907)
Seokchan Yoon discovered that Django incorrectly handled HasKey lookups
when using Oracle. A remote attacker could possibly use this issue to
inject arbitrary SQL code. This issue only affected Ubuntu 24.04 LTS and
Ubuntu 24.10. (CVE-2024-53908)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.10
- python3-django - 3:4.2.15-1ubuntu1.1
Ubuntu 24.04 - python3-django - 3:4.2.11-1ubuntu1.4
Ubuntu 22.04 - python3-django - 2:3.2.12-2ubuntu1.15
Ubuntu 20.04 - python3-django - 2:2.2.12-1ubuntu0.26
In general, a standard system update will make all the necessary changes.