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 crafted string. NOTE: this issue
exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | python-django | < 1:1.11.11-1ubuntu1.21+esm4) Available with Ubuntu Pro or Ubuntu Pro (Infra-only | UNKNOWN |
ubuntu | 20.04 | noarch | python-django | < 2:2.2.12-1ubuntu0.22 | UNKNOWN |
ubuntu | 22.04 | noarch | python-django | < 2:3.2.12-2ubuntu1.11 | UNKNOWN |
ubuntu | 23.10 | noarch | python-django | < 3:4.2.4-1ubuntu2.2 | UNKNOWN |
ubuntu | 24.04 | noarch | python-django | < any | UNKNOWN |
ubuntu | 14.04 | noarch | python-django | < any | UNKNOWN |
ubuntu | 16.04 | noarch | python-django | < any | UNKNOWN |
launchpad.net/bugs/cve/CVE-2024-27351
nvd.nist.gov/vuln/detail/CVE-2024-27351
security-tracker.debian.org/tracker/CVE-2024-27351
ubuntu.com/security/notices/USN-6674-1
ubuntu.com/security/notices/USN-6674-2
www.cve.org/CVERecord?id=CVE-2024-27351
www.djangoproject.com/weblog/2024/mar/04/security-releases/