django
Affected
- introduced
5.1.0, fixed5.1.4(ecosystem)
Fixed versions
5.1.4
Fix
- Fixed version
5.1.4pip install --upgrade django==5.1.4
Advisory
Also known as: BIT-django-2024-53907, CVE-2024-53907, PYSEC-2024-156
Django denial-of-service in django.utils.html.strip_tags()
An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. The strip_tags() method and striptags template filter are subject to a potential denial-of-service attack via certain inputs containing large sequences of nested incomplete HTML entities.
Medium Basis: The source's own band: MODERATE
5.1.0, fixed 5.1.4 (ecosystem)5.1.4
5.1.4pip install --upgrade django==5.1.44.2.0, fixed 4.2.17 (ecosystem)4.2.17
4.2.17pip install --upgrade django==4.2.175.0.0, fixed 5.0.10 (ecosystem)5.0.10
5.0.10pip install --upgrade django==5.0.105.1, fixed 5.1.4 (ecosystem)5.1.4
5.1.4pip install --upgrade django==5.1.45.0, fixed 5.0.10 (ecosystem)5.0.10
5.0.10pip install --upgrade django==5.0.104.2, fixed 4.2.17 (ecosystem)4.2.17
4.2.17pip install --upgrade django==4.2.17Fix 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