django-planet
July 3, 2023

Django security releases issued: 4.2.3, 4.1.10, and 3.2.20

published by Mariusz Felisiak
in blog The Django weblog
original entry Django security releases issued: 4.2.3, 4.1.10, and 3.2.20

In accordance with our security release policy, the Django team is issuing Django 4.2.3, Django 4.1.10, and Django 3.2.20. These releases addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.

CVE-2023-36053: Potential regular expression denial of service vulnerability in EmailValidator/URLValidator

EmailValidator and URLValidator were subject to potential regular expression denial of service attack via a very large number of domain name labels of emails and URLs.

Thanks Seokchan Yoon for reports.

This issue has severity "moderate" according to the Django security policy.

Affected supported versions

  • Django main branch
  • Django 4.2
  • Django 4.1
  • Django 3.2

Resolution

Patches to resolve the issue have been applied to Django's main branch and the 4.2, 4.1, and 3.2 release branches. The patches may be obtained from the following changesets:

The following releases have been issued:

The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.

General notes regarding security reporting

As always, we ask that potential security issues be reported via private email to security@djangoproject.com, and not via Django's Trac instance or the django-developers list. Please see our security policies for further information.