=====================================================================

                                CERT-Renater

                    Note d'Information No. 2024/VULN094
_____________________________________________________________________

DATE                : 08/03/2024

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running Django versions prior to 5.0.3,
                                       4.2.11, 3.2.25.

=====================================================================
https://www.djangoproject.com/weblog/2024/mar/04/security-releases/
_____________________________________________________________________


Django security releases issued: 5.0.3, 4.2.11, and 3.2.25
Posted by Mariusz Felisiak on mars 4, 2024

In accordance with our security release policy, the Django team is
issuing Django 5.0.3, Django 4.2.11, and Django 3.2.25. These
releases addresses the security issue detailed below. We encourage
all users of Django to upgrade as soon as possible.


CVE-2024-27351: Potential regular expression denial-of-service in
django.utils.text.Truncator.words()

django.utils.text.Truncator.words() method (with html=True) and
truncatewords_html template filter were subject to a potential
regular expression denial-of-service attack using a suitably
crafted string (follow up to CVE-2019-14232 and CVE-2023-43665).

Thanks Seokchan Yoon for the report.

This issue has severity "moderate" according to the Django security
policy.


Affected supported versions

      Django 5.0
      Django 4.2
      Django 3.2

Resolution

Patches to resolve the issue have been applied to the 5.0, 4.2,
and 3.2 release branches. The patches may be obtained from the
following changesets:

      On the 5.0 release branch
      On the 4.2 release branch
      On the 3.2 release branch

The following releases have been issued:

      Django 5.0.3 (download Django 5.0.3 | 5.0.3 checksums)
      Django 4.2.11 (download Django 4.2.11 | 4.2.11 checksums)
      Django 3.2.25 (download Django 3.2.25 | 3.2.25 checksums)

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.


=========================================================
+ CERT-RENATER        |    tel : 01-53-94-20-44         +
+ 23/25 Rue Daviel    |    fax : 01-53-94-20-41         +
+ 75013 Paris         |   email:cert@support.renater.fr +
=========================================================
