CVE-2024-53907
python-django - security update
7.5
HIGH
CVSS 3.1
EPSS 1.0%
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.
How to fix CVE-2024-53907
To remediate CVE-2024-53907, upgrade the affected package to a fixed version below.
- —upgrade to 4.2.17 or later
- —upgrade to 2:2.2.28-1~deb11u3 or later
- —upgrade to 2:2.2.28-1~deb11u3 or later
- —upgrade to 5.1.4 or later
- —upgrade to 5.1.4 or later
Is CVE-2024-53907 being exploited?
Low — EPSS is 1.0%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- >= 4.2.0, < 4.2.17, >= 5.0.0, < 5.1.4
- from 0, < 2:2.2.28-1~deb11u3
- from 0, < 2:2.2.28-1~deb11u3
- >= 5.1.0, < 5.1.4
- >= 5.1, < 5.1.4, >= 5.0, < 5.0.10, >= 4.2, < 4.2.17
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS: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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |