Skip to content
OpenAdvisories
Medium USN-6674-1 1 CVE

python-django vulnerability

Published Mar 4, 2024 · Updated Apr 27, 2026

Summary

Seokchan Yoon discovered that the Django Truncator function incorrectly
handled very long HTML input. A remote attacker could possibly use this
issue to cause Django to consume resources, leading to a denial of service.

Fixed packages 2

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS python-django 2:2.2.12-1ubuntu0.22
Ubuntu · 22.04 LTS 22.04:LTS python-django 2:3.2.12-2ubuntu1.11

Vulnerabilities 1

  • Medium 5.3

    Regular expression denial-of-service in Django

    In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a craft…

References

  • report
    https://ubuntu.com/security/CVE-2024-27351