Packages
- 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)
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)
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
Ubuntu Release | Package Version | ||
---|---|---|---|
25.04 plucky | python3-django – 3:4.2.18-1ubuntu1.5 | ||
24.04 LTS noble | python3-django – 3:4.2.11-1ubuntu1.11 | ||
22.04 LTS jammy | python3-django – 2:3.2.12-2ubuntu1.22 | ||
20.04 LTS focal | python3-django – 2:2.2.12-1ubuntu0.29+esm4 | ||
18.04 LTS bionic | python-django – 1:1.11.11-1ubuntu1.21+esm12 | ||
python3-django – 1:1.11.11-1ubuntu1.21+esm12 | |||
16.04 LTS xenial | python-django – 1.8.7-1ubuntu5.15+esm9 | ||
python3-django – 1.8.7-1ubuntu5.15+esm9 | |||
14.04 LTS trusty | python-django – 1.6.11-0ubuntu1.3+esm8 |
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.