See https://www.djangoproject.com/weblog/2022/jan/04/security-releases/. --- In accordance with our security release policy, the Django team is issuing Django 4.0.1, Django 3.2.11, and Django 2.2.26. These release addresses the security issues detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2021-45115: Denial-of-service possibility in UserAttributeSimilarityValidator UserAttributeSimilarityValidator incurred significant overhead evaluating submitted password that were artificially large in relative to the comparison values. On the assumption that access to user registration was unrestricted this provided a potential vector for a denial-of-service attack. In order to mitigate this issue, relatively long values are now ignored by UserAttributeSimilarityValidator. Thanks Chris Bailey for the report. This issue has severity "medium" according to the Django security policy. CVE-2021-45116: Potential information disclosure in dictsort template filter Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure or unintended method calls, if passed a suitably crafted key. In order to avoid this possibility, dictsort now works with a restricted resolution logic, that will not call methods, nor allow indexing on dictionaries. As a reminder, all untrusted user input should be validated before use. Thanks to Dennis Brinkrolf for the report. This issue has severity "low" according to the Django security policy. CVE-2021-45452: Potential directory-traversal via Storage.save() Storage.save() allowed directory-traversal if directly passed suitably crafted file names. Thanks to Dennis Brinkrolf for the report. This issue has severity "low" according to the Django security policy.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d36750593a87f1e4fed09d03f6ef95395a3a135 commit 9d36750593a87f1e4fed09d03f6ef95395a3a135 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-01-04 21:29:01 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-01-04 21:29:37 +0000 dev-python/django: add 2.2.26, 3.2.11, 4.0.1 Bug: https://bugs.gentoo.org/830593 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-python/django/Manifest | 6 ++ dev-python/django/django-2.2.26.ebuild | 92 +++++++++++++++++++++++++++++ dev-python/django/django-3.2.11.ebuild | 101 ++++++++++++++++++++++++++++++++ dev-python/django/django-4.0.1.ebuild | 103 +++++++++++++++++++++++++++++++++ 4 files changed, 302 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec0486412ed8531bb64cd69820ee9ba4670dd27 commit eec0486412ed8531bb64cd69820ee9ba4670dd27 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-01-04 22:05:27 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-01-04 22:05:27 +0000 dev-python/django: drop 2.2.25, 3.1.14, 3.2.10, 4.0 Bug: https://bugs.gentoo.org/830593 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-python/django/Manifest | 8 --- dev-python/django/django-2.2.25.ebuild | 92 ----------------------------- dev-python/django/django-3.1.14.ebuild | 95 ------------------------------ dev-python/django/django-3.2.10.ebuild | 101 -------------------------------- dev-python/django/django-4.0.ebuild | 103 --------------------------------- 5 files changed, 399 deletions(-)
Thanks Arthur!