Upgrade Django to address security issues released on Aug 6 2024
Closed this issue · 2 comments
From https://www.djangoproject.com/weblog/2024/aug/06/security-releases/:
Django security releases issued: 5.0.8 and 4.2.15
Posted by Sarah Boyce on August 6, 2024
In accordance with our security release policy, the Django team is issuing releases for Django 5.0.8 and Django 4.2.15. These releases address the security issues detailed below. We encourage all users of Django to upgrade as soon as possible.
CVE-2024-41989: Memory exhaustion in django.utils.numberformat.floatformat()
The floatformat template filter is subject to significant memory consumption when given a string representation of a number in scientific notation with a large exponent.
Thanks to Elias Myllymäki for the report.
This issue has severity "moderate" according to the Django security policy.
CVE-2024-41990: Potential denial-of-service in django.utils.html.urlize()
The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.
Thanks to MProgrammer for the report.
This issue has severity "moderate" according to the Django security policy.
CVE-2024-41991: Potential denial-of-service vulnerability in django.utils.html.urlize() and AdminURLFieldWidget
The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.
Thanks to Seokchan Yoon for the report.
This issue has severity "moderate" according to the Django security policy.
CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list()
QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.
Thanks to Eyal Gabay of EyalSec for the report.
This issue has severity "high" according to the Django security policy.
- Created tag
v3.2.18rc0
for testing - tested on ezid-dev
diff --git a/pyproject.toml b/pyproject.toml
index 4f1db14c..2763d856 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,10 +39,10 @@ packages = [
[tool.poetry.dependencies]
-django = "^4.2.14"
+django = "^4.2.15"
-boto3 = "^1.34.155"
+boto3 = "^1.34.158"
mysql = "^0.0.3"
-lxml = "^5.2.2"
+lxml = "^5.3.0"
Deployed v3.2.18
on Aug 13.