CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in djangoproject django. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in django 4.2.17, 5.0.10, 5.1.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hdjango (PyPI): fixed in 5.1.4, 4.2.17, 5.0.10Explain CVE-2024-53907 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-53907?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-53907?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-53907 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| djangoproject:django | from 4.2 before 4.2.17 |
| djangoproject:django | from 5.0 before 5.0.10 |
| djangoproject:django | from 5.1 before 5.1.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-8498-2h75-472j | PyPI | django | >=5.1.0 <5.1.4 | 5.1.4 |
| GHSA-8498-2h75-472j | PyPI | django | >=4.2.0 <4.2.17 | 4.2.17 |
| GHSA-8498-2h75-472j | PyPI | django | >=5.0.0 <5.0.10 | 5.0.10 |
| GHSA-8498-2h75-472j | PyPI | django | >=5.1 <5.1.4 | 5.1.4 |
| GHSA-8498-2h75-472j | PyPI | django | >=5.0 <5.0.10 | 5.0.10 |
| GHSA-8498-2h75-472j | PyPI | django | >=4.2 <4.2.17 | 4.2.17 |
| PYSEC-2024-156 | PyPI | django | >=5.1 <5.1.4 >=5.0 <5.0.10 >=4.2 <4.2.17 | 5.1.4, 5.0.10, 4.2.17 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | python-django | 2:2.2.28-1~deb11u3 | DLA-4006-1 |
| Debian | 12 | python-django | 3:3.2.25-0+deb12u1 | DEBIAN-CVE-2024-53907 DSA-6136-1 |
| Debian | 13, 14 | python-django | 3:4.2.17-1 | DEBIAN-CVE-2024-53907 |
| Ubuntu | 20.04:LTS | python-django | 2:2.2.12-1ubuntu0.26 | UBUNTU-CVE-2024-53907 USN-7136-1 |
| Ubuntu | 22.04:LTS | python-django | 2:3.2.12-2ubuntu1.15 | UBUNTU-CVE-2024-53907 USN-7136-1 |
| Ubuntu | 24.04:LTS | python-django | 3:4.2.11-1ubuntu1.4 | UBUNTU-CVE-2024-53907 USN-7136-1 |
| Ubuntu | Pro:14.04:LTS | python-django | no fix listed | UBUNTU-CVE-2024-53907 |
| Ubuntu | Pro:16.04:LTS | python-django | 1.8.7-1ubuntu5.15+esm8 | UBUNTU-CVE-2024-53907 USN-7136-2 |
| Ubuntu | Pro:18.04:LTS | python-django | 1:1.11.11-1ubuntu1.21+esm8 | UBUNTU-CVE-2024-53907 USN-7136-2 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-controller-venv-tower | 0:4.6.6-1.el8ap | RHSA-2025:0340 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-controller-venv-tower | 0:4.6.7-1.el8ap | RHSA-2025:0777 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-gateway-server | 0:2.5.20250115-1.el8ap | RHSA-2025:0340 |
| Red Hat | ansible_automation_platform:2.5::el8 | python3.11-aiohttp, python3.11-aiohttp-debuginfo, python3.11-aiohttp-debugsource | 0:3.10.11-1.el8ap | RHSA-2025:0340 |
| Red Hat | ansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8 | python3.11-django | 0:4.2.18-1.el8ap | RHSA-2025:0777 |
| Red Hat | ansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8 | python3.11-jinja2 | 0:3.1.5-1.el8ap | RHSA-2025:0777 |
| Red Hat | ansible_automation_platform:2.5::el9 | automation-controller-venv-tower | 0:4.6.6-1.el9ap | RHSA-2025:0340 |
| Red Hat | ansible_automation_platform:2.5::el9 | automation-controller-venv-tower | 0:4.6.7-1.el9ap | RHSA-2025:0777 |
| Red Hat | ansible_automation_platform:2.5::el9 | automation-gateway-server | 0:2.5.20250115-1.el9ap | RHSA-2025:0340 |
| Red Hat | ansible_automation_platform:2.5::el9 | python3.11-aiohttp, python3.11-aiohttp-debuginfo, python3.11-aiohttp-debugsource | 0:3.10.11-1.el9ap | RHSA-2025:0340 |
| Red Hat | ansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9 | python3.11-django | 0:4.2.18-1.el9ap | RHSA-2025:0777 |
| Red Hat | ansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9, ansible_automation_platform_inside:2.5::el9 | python3.11-jinja2 | 0:3.1.5-1.el9ap | RHSA-2025:0777 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6 | python-Django | 4.2.11-150600.3.12.1 | SUSE-SU-2024:4285-1 |
| SUSE | Package Hub 15 SP5 | python-Django | 2.2.28-bp155.7.21.1 | openSUSE-SU-2024:0408-1 |
| openSUSE | Leap 15.5 | python-Django | 2.2.28-bp155.7.21.1 | openSUSE-SU-2024:0408-1 |
| openSUSE | Leap 15.6 | python-Django | 4.2.11-150600.3.12.1 | SUSE-SU-2024:4285-1 |
| openSUSE | Tumbleweed | python-Django | 5.1.4-1.1 | openSUSE-SU-2024:14568-1 |
| openSUSE | Tumbleweed | python-Django4 | 4.2.17-1.1 | openSUSE-SU-2024:14565-1 |
| openSUSE | Tumbleweed | python-Django5 | 5.2.16-1.1 | openSUSE-SU-2026:11270-1 |
| openSUSE | Tumbleweed | python-Django6 | 6.0-1.1 | openSUSE-SU-2026:10005-1 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | py3-django | 4.2.20-r0 | ALPINE-CVE-2024-53907 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This vulnerability is rated as a Moderate severity because it exposes the strip_tags() method and striptags template filter to a potential denial-of-service attack, malicious input containing large sequences of nested incomplete HTML entities could cause excessive processing, but it does not affect data confidentiality or integrity
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Discovery 1 for RHEL 9 | discovery/discovery-server-rhel9:1.12.0-1 | Fixed 2025-02-10 | RHSA-2025:1249 |
| Discovery 1 for RHEL 9 | discovery/discovery-ui-rhel9:1.12.0-1 | Fixed 2025-02-10 | RHSA-2025:1249 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/aap-cloud-billing-rhel8:0.3.0-51 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/aap-cloud-billing-rhel8-operator:1.0.4-50 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/aap-cloud-metrics-collector-rhel8:1.0.2-138 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/aap-cloud-ui-rhel8:1.0.5-98 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/aap-cloud-ui-rhel8-operator:1.0.4-132 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/aap-must-gather-rhel8:0.0.1-504 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/ansible-builder-rhel8:3.0.1-109 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/ansible-python-base-rhel8:1.0.0-681 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/ansible-python-toolkit-rhel8:1.0.0-641 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/controller-rhel8:4.5.15-2 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/controller-rhel8-operator:2.4-165 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-automation-platform-24/de-minimal-rhel8:1.0.7-53 | Fixed 2024-12-16 | RHSA-2024:11144 |
| Red Hat Ansible Automation Platform 1.2 | ansible-tower | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-supported-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-dellemc-openmanage-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Will not fix | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/platform-resource-runner-rhel9 | Will not fix | |
| Red Hat Ansible Automation Platform 2 | python-django | Affected | |
| 69 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-53907.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).