pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-django5
Module Name: pkgsrc
Committed By: adam
Date: Thu Jun 4 09:21:12 UTC 2026
Modified Files:
pkgsrc/www/py-django5: Makefile distinfo
Log Message:
py-django5: updated to 5.2.15
Django 5.2.15 fixes five security issues with severity “low” in 5.2.14.
CVE-2026-6873: Signed cookie salt namespace collision
get_signed_cookie() derived the signing salt by concatenating the cookie name (key) and salt arguments. When distinct name and salt pairs produced the same concatenation, cookies could be accepted in
a context different from the one where they were signed.
Cookies are now signed with an unambiguous salt derivation. For backwards compatibility, cookies signed by older Django versions are accepted until Django 7.0. Projects affected by the above
ambiguity should set SIGNED_COOKIE_LEGACY_SALT_FALLBACK to False to reject older cookies immediately.
This issue has severity “low” according to the Django security policy.
CVE-2026-7666: Potential unencrypted email transmission via STARTTLS in the SMTP backend
When using EMAIL_USE_TLS, a failed STARTTLS handshake could leave a partially-initialized connection that would subsequently be reused for sending email without encryption. This can occur with
fail_silently=True, as used by send_mail() and BrokenLinkEmailsMiddleware, among others. Connections configured with EMAIL_USE_SSL are not affected.
This issue has severity “low” according to the Django security policy.
CVE-2026-8404: Potential exposure of private data via case-sensitive Cache-Control directives
UpdateCacheMiddleware and cache_page() incorrectly cached responses marked with private Cache-Control directives when using mixed or uppercase values (e.g. Private).
The cache_control() decorator and patch_cache_control() function were not affected, since they normalize directives to lowercase. This issue only affects responses where Cache-Control is set manually.
This issue has severity “low” according to the Django security policy.
CVE-2026-35193: Potential exposure of private data via missing Vary: Authorization
UpdateCacheMiddleware and cache_page() decorator allowed responses to requests bearing an Authorization header (and without Cache-Control: public) to be cached. To conform with the existing mechanism
for constructing cache keys, responses to these requests will now vary on Authorization.
This issue has severity “low” according to the Django security policy.
CVE-2026-48587: Potential exposure of private data via whitespace padding in Vary header
UpdateCacheMiddleware incorrectly cached responses whose Vary header values contained leading or trailing whitespace. Because has_vary_header() failed to strip that, a Vary: * header value with
surrounding whitespace was not recognized as containing the wildcard, causing it to be stored and potentially served from the cache when it should not have been.
This issue has severity “low” according to the Django security policy.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-django5/Makefile \
pkgsrc/www/py-django5/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-django5/Makefile
diff -u pkgsrc/www/py-django5/Makefile:1.2 pkgsrc/www/py-django5/Makefile:1.3
--- pkgsrc/www/py-django5/Makefile:1.2 Wed May 13 12:12:58 2026
+++ pkgsrc/www/py-django5/Makefile Thu Jun 4 09:21:12 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2026/05/13 12:12:58 adam Exp $
+# $NetBSD: Makefile,v 1.3 2026/06/04 09:21:12 adam Exp $
-DISTNAME= django-5.2.14
+DISTNAME= django-5.2.15
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
Index: pkgsrc/www/py-django5/distinfo
diff -u pkgsrc/www/py-django5/distinfo:1.2 pkgsrc/www/py-django5/distinfo:1.3
--- pkgsrc/www/py-django5/distinfo:1.2 Wed May 13 12:12:58 2026
+++ pkgsrc/www/py-django5/distinfo Thu Jun 4 09:21:12 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2026/05/13 12:12:58 adam Exp $
+$NetBSD: distinfo,v 1.3 2026/06/04 09:21:12 adam Exp $
-BLAKE2s (django-5.2.14.tar.gz) = 585a415d15c36f680977ee4c30c2c2520508dae6a253f573d0b958b57de9dab4
-SHA512 (django-5.2.14.tar.gz) = e6e05195d4693209de15be99fc6621cc23b5a0d28fbcf2516b271274aa1637be4f55a6b607fb1c5dc8e913a78eca99d76645bce1cc71468a8dfed7e16c129a84
-Size (django-5.2.14.tar.gz) = 10895118 bytes
+BLAKE2s (django-5.2.15.tar.gz) = a2cef4c46e12b1b5ff61095fef617fe28fae474e9e98f258b4aa3530ddb372e5
+SHA512 (django-5.2.15.tar.gz) = ac222ce040bd55dc580bfbc38d5c35802960fcd90070271f2f990f3a2f8c429c837b511fce1c45ef2d21ad518fdd47c26a6486a8f4696f3f2e9ee9e114421a3c
+Size (django-5.2.15.tar.gz) = 10873669 bytes
Home |
Main Index |
Thread Index |
Old Index