summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2025-01-06 15:51:45 -0300
committerNatalia <124304+nessita@users.noreply.github.com>2025-01-14 09:08:01 -0300
commitad866a1ca3e7d60da888d25d27e46a8adb2ed36e (patch)
tree2286eacf7ac87b08c3255dc00513022fc9fcb687 /docs/releases
parentb0d309c9eb802cbc652595e2d413bb451e37f124 (diff)
[4.2.x] Fixed CVE-2024-56374 -- Mitigated potential DoS in IPv6 validation.
Thanks Saravana Kumar for the report, and Sarah Boyce and Mariusz Felisiak for the reviews. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/4.2.18.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/releases/4.2.18.txt b/docs/releases/4.2.18.txt
index ae0c4e3334..fef91d9150 100644
--- a/docs/releases/4.2.18.txt
+++ b/docs/releases/4.2.18.txt
@@ -5,3 +5,15 @@ Django 4.2.18 release notes
*January 14, 2025*
Django 4.2.18 fixes a security issue with severity "moderate" in 4.2.17.
+
+CVE-2024-56374: Potential denial-of-service vulnerability in IPv6 validation
+============================================================================
+
+Lack of upper bound limit enforcement in strings passed when performing IPv6
+validation could lead to a potential denial-of-service attack. The undocumented
+and private functions ``clean_ipv6_address`` and ``is_valid_ipv6_address`` were
+vulnerable, as was the :class:`django.forms.GenericIPAddressField` form field,
+which has now been updated to define a ``max_length`` of 39 characters.
+
+The :class:`django.db.models.GenericIPAddressField` model field was not
+affected.