CVE-2024-53907
Aliases:GHSA-8498-2h75-472jBIT-django-2024-53907PYSEC-2024-156
Advisory lineage Upstream: 0 Downstream: 14
Analyzed
Published: 06 Dec 2024, 00:00
Last modified:31 Dec 2024, 18:03
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
1.04% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
06 Dec 2024, 00:00
Published
Vulnerability first disclosed
31 Dec 2024, 18:03
Last Modified
Vulnerability information updated
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.04%• Percentile: 78%
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
- 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 (9)
- 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