[USN-7794-1] Django vulnerabilities

noreply+usn-bot at canonical.com noreply+usn-bot at canonical.com
Wed Oct 1 20:00:04 UTC 2025


==========================================================================
Ubuntu Security Notice USN-7794-1
October 01, 2025

python-django vulnerabilities
==========================================================================

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)

Update instructions:

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.

References:
  https://ubuntu.com/security/notices/USN-7794-1
  CVE-2025-59681, CVE-2025-59682

Package Information:
  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20251001/2da4b551/attachment.sig>


More information about the ubuntu-security-announce mailing list