CVE-2024-53907
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 1.39%• Percentile: 71%
Techniques & Countermeasures
- CWE-770•Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected Systems
- chainguard•awx
< 24.6.1-r2
- chainguard•py3-django
< 5.1.4-r0
- wolfi•py3-django
< 5.1.4-r0
- debian•python-django
< 2:2.2.28-1~deb11u3 | < 3:3.2.25-0+deb12u1 | < 3:4.2.17-1 | < 3:4.2.17-1
- djangoproject•django
≥ 4.2, < 4.2.17 | ≥ 5.0, < 5.0.10 | ≥ 5.1, < 5.1.4
- PyPI•django
≥ 5.1.0, < 5.1.4 | ≥ 4.2.0, < 4.2.17 | ≥ 5.0.0, < 5.0.10 | ≥ 5.1, < 5.1.4 | ≥ 5.0, < 5.0.10 | ≥ 4.2, < 4.2.17
References (12)
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/g/django-announce
- https://www.openwall.com/lists/oss-security/2024/12/04/3
- https://lists.debian.org/debian-lts-announce/2024/12/msg00028.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-53907
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-156.yaml
- https://www.djangoproject.com/weblog/2024/dec/04/security-releases
- https://github.com/advisories/GHSA-8498-2h75-472j
- https://security-tracker.debian.org/tracker/CVE-2024-53907
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53907.json