Name | CVE-2024-53907 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4006-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-django (PTS) | bullseye | 2:2.2.28-1~deb11u2 | vulnerable |
bullseye (security) | 2:2.2.28-1~deb11u6 | fixed | |
bookworm, bookworm (security) | 3:3.2.19-1+deb12u1 | vulnerable | |
sid, trixie | 3:4.2.20-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-django | source | bullseye | 2:2.2.28-1~deb11u3 | DLA-4006-1 | ||
python-django | source | (unstable) | 3:4.2.17-1 |
https://www.djangoproject.com/weblog/2024/dec/04/security-releases/
Fixed by: https://github.com/django/django/commit/790eb058b0716c536a2f2e8d1c6d5079d776c22b (4.2.17)