From fddb59b0d43ff1bb9e18a5cc7d61543775026016 Mon Sep 17 00:00:00 2001 From: Titouan Christophe Date: Thu, 11 Sep 2025 18:16:03 +0200 Subject: [PATCH] package/python-django: security bump to v5.2.6 See the release notes: - https://docs.djangoproject.com/en/5.2/releases/5.2.6/ - https://docs.djangoproject.com/en/5.2/releases/5.2.5/ This fixes the following vulnerability: - CVE-2025-57833: An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias(). https://www.cve.org/CVERecord?id=CVE-2025-57833 Signed-off-by: Titouan Christophe Signed-off-by: Peter Korsgaard (cherry picked from commit a0797adf4078484c90c95ddfe216d4fc1b881b97) Signed-off-by: Thomas Perale --- package/python-django/python-django.hash | 4 ++-- package/python-django/python-django.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-django/python-django.hash b/package/python-django/python-django.hash index 0dd687164e..3ff4eb4e36 100644 --- a/package/python-django/python-django.hash +++ b/package/python-django/python-django.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/django/json -md5 0b2266b4a1aaed942e0a94ce8a18913d django-5.2.3.tar.gz -sha256 335213277666ab2c5cac44a792a6d2f3d58eb79a80c14b6b160cd4afc3b75684 django-5.2.3.tar.gz +md5 1f0327293cc3768903ce8cd390ec3f47 django-5.2.6.tar.gz +sha256 da5e00372763193d73cecbf71084a3848458cecf4cee36b9a1e8d318d114a87b django-5.2.6.tar.gz # Locally computed sha256 checksums sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE sha256 dcac1c86cb7ab491702bdb4c41be680fafde51536748cc8aaee3840eec53ed17 django/contrib/gis/measure.py diff --git a/package/python-django/python-django.mk b/package/python-django/python-django.mk index 77e9a11839..e3959f4192 100644 --- a/package/python-django/python-django.mk +++ b/package/python-django/python-django.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_DJANGO_VERSION = 5.2.3 +PYTHON_DJANGO_VERSION = 5.2.6 PYTHON_DJANGO_SOURCE = django-$(PYTHON_DJANGO_VERSION).tar.gz # The official Django site has an unpractical URL -PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/c6/af/77b403926025dc6f7fd7b31256394d643469418965eb528eab45d0505358 +PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/4c/8c/2a21594337250a171d45dda926caa96309d5136becd1f48017247f9cdea0 PYTHON_DJANGO_LICENSE = BSD-3-Clause, MIT (jquery, utils/archive.py), BSD-2-Clause (inlines.js) PYTHON_DJANGO_LICENSE_FILES = LICENSE \ django/contrib/gis/measure.py \