A security issue affects these releases of Ubuntu and its derivatives: - Ubuntu 25.04 - Ubuntu 24.04 LTS - Ubuntu 22.04 LTS - Ubuntu 20.04 LTS - Ubuntu 18.04 LTS - Ubuntu 16.04 LTS - Ubuntu 14.04 LTS Summary: Several security issues were fixed in Django. Software Description: - python-django: High-level Python web development framework Details: It was discovered that Django incorrectly handled special characters in the QuerySet function calls. A remote attacker could possibly use this issue to perform SQL injection attacks. (CVE-2025-59681) It was discovered that Django incorrectly handled files with the same path prefix when starting with a template. An attacker could possibly use this issue to obtain sensitive information. (CVE-2025-59682)
The problem can be corrected by updating your system to the following package versions: Ubuntu 25.04 python3-django 3:4.2.18-1ubuntu1.5 Ubuntu 24.04 LTS python3-django 3:4.2.11-1ubuntu1.11 Ubuntu 22.04 LTS python3-django 2:3.2.12-2ubuntu1.22 Ubuntu 20.04 LTS python3-django 2:2.2.12-1ubuntu0.29+esm4 Available with Ubuntu Pro Ubuntu 18.04 LTS python-django 1:1.11.11-1ubuntu1.21+esm12 Available with Ubuntu Pro python3-django 1:1.11.11-1ubuntu1.21+esm12 Available with Ubuntu Pro Ubuntu 16.04 LTS python-django 1.8.7-1ubuntu5.15+esm9 Available with Ubuntu Pro python3-django 1.8.7-1ubuntu5.15+esm9 Available with Ubuntu Pro Ubuntu 14.04 LTS python-django 1.6.11-0ubuntu1.3+esm8 Available with Ubuntu Pro In general, a standard system update will make all the necessary changes.
https://ubuntu.com/security/notices/USN-7794-1
CVE-2025-59681, CVE-2025-59682
https://launchpad.net/ubuntu/+source/python-django/3:4.2.18-1ubuntu1.5 https://launchpad.net/ubuntu/+source/python-django/3:4.2.11-1ubuntu1.11 https://launchpad.net/ubuntu/+source/python-django/2:3.2.12-2ubuntu1.22
Get the latest Linux and open source security news straight to your inbox.