django
Affected
- introduced
3.2, fixed3.2.25(ecosystem)
Fixed versions
3.2.25
Fix
- Fixed version
3.2.25pip install --upgrade django==3.2.25
Advisory
Also known as: BIT-django-2024-27351, CVE-2024-27351, PYSEC-2024-47
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 crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.
Medium Basis: The source's own band: MODERATE
3.2, fixed 3.2.25 (ecosystem)3.2.25
3.2.25pip install --upgrade django==3.2.254.2, fixed 4.2.11 (ecosystem)4.2.11
4.2.11pip install --upgrade django==4.2.115.0, fixed 5.0.3 (ecosystem)5.0.3
5.0.3pip install --upgrade django==5.0.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0