cve.bz

CVE-2024-56374

7.5 highEPSS 1.3%Fix available

High (7.5). EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in django 4.2.18, 5.0.11, 5.1.5.

On this page
An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 before 4.2.18. Lack of upper-bound limit enforcement in strings passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and private functions clean_ipv6_address and is_valid_ipv6_address are vulnerable, as is the django.forms.GenericIPAddressField form field. (The django.db.models.GenericIPAddressField model field is not affected.)

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-01-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-56374 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-56374?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-56374?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-56374 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
djangoproject Djangofrom 4.2 before 4.2.18
djangoproject Djangofrom 5.0 before 5.0.11
djangoproject Djangofrom 5.1 before 5.1.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qcgg-j2x8-h9g8PyPIdjango>=5.1 <5.1.55.1.5
GHSA-qcgg-j2x8-h9g8PyPIdjango>=5.0 <5.0.115.0.11
GHSA-qcgg-j2x8-h9g8PyPIdjango>=4.2 <4.2.184.2.18
GHSA-qcgg-j2x8-h9g8PyPIdjango>=5.1 <5.1.55.1.5
GHSA-qcgg-j2x8-h9g8PyPIdjango>=5.0 <5.0.115.0.11
GHSA-qcgg-j2x8-h9g8PyPIdjango>=4.2 <4.2.184.2.18
PYSEC-2025-1PyPIdjango>=5.1 <5.1.5
>=5.0 <5.0.11
>=4.2 <4.2.18
5.1.5, 5.0.11, 4.2.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-django2:2.2.28-1~deb11u5DLA-4030-1
Debian12python-django3:3.2.25-0+deb12u1DEBIAN-CVE-2024-56374 DSA-6136-1
Debian13, 14python-django3:4.2.18-1DEBIAN-CVE-2024-56374
Ubuntu20.04:LTSpython-django2:2.2.12-1ubuntu0.27UBUNTU-CVE-2024-56374 USN-7205-1
Ubuntu22.04:LTSpython-django2:3.2.12-2ubuntu1.16UBUNTU-CVE-2024-56374 USN-7205-1
Ubuntu24.04:LTSpython-django3:4.2.11-1ubuntu1.5UBUNTU-CVE-2024-56374 USN-7205-1
UbuntuPro:14.04:LTS, Pro:16.04:LTSpython-djangono fix listedUBUNTU-CVE-2024-56374
UbuntuPro:18.04:LTSpython-django1:1.11.11-1ubuntu1.21+esm9UBUNTU-CVE-2024-56374 USN-7205-2
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.7-1.el8apRHSA-2025:0777
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8python3.11-django0:4.2.18-1.el8apRHSA-2025:0777
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8python3.11-jinja20:3.1.5-1.el8apRHSA-2025:0777
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.7-1.el9apRHSA-2025:0777
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9python3.11-django0:4.2.18-1.el9apRHSA-2025:0777
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9, ansible_automation_platform_inside:2.5::el9python3.11-jinja20:3.1.5-1.el9apRHSA-2025:0777
Red Hatsatellite:6.16::el8candlepin, candlepin-selinux0:4.4.21-1.el8satRHSA-2025:2399
Red Hatsatellite:6.16::el8foreman, foreman-cli, foreman-ec2 and 12 more0:3.12.0.6-1.el8satRHSA-2025:2399
Red Hatsatellite:6.16::el8rubygem-foreman_ansible0:14.2.3-1.el8satRHSA-2025:2399
Red Hatsatellite:6.16::el8rubygem-foreman_openscap0:9.0.5-1.el8satRHSA-2025:2399
Red Hatsatellite:6.16::el8rubygem-foreman_remote_execution, rubygem-foreman_remote_execution-cockpit0:13.2.7-1.el8satRHSA-2025:2399
Red Hatsatellite:6.16::el8rubygem-foreman_theme_satellite0:13.3.5-1.el8satRHSA-2025:2399
40 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Package Hub 15 SP6python-Django4.2.11-150600.3.15.1SUSE-SU-2025:0149-1
openSUSELeap 15.6python-Django4.2.11-150600.3.15.1SUSE-SU-2025:0149-1
openSUSETumbleweedpython-Django5.1.5-1.1openSUSE-SU-2025:14662-1
openSUSETumbleweedpython-Django44.2.18-1.1openSUSE-SU-2025:14651-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1
Alpinev3.21, v3.22, v3.23 and 1 morepy3-django4.2.20-r0ALPINE-CVE-2024-56374

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

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Discovery 1 for RHEL 9discovery/discovery-server-rhel9:1.12.0-1Fixed 2025-02-10RHSA-2025:1249
Discovery 1 for RHEL 9discovery/discovery-ui-rhel9:1.12.0-1Fixed 2025-02-10RHSA-2025:1249
Red Hat Ansible Automation Platform 2.4 for RHEL 8ansible-automation-platform-24/lightspeed-rhel8-operator:2.4-33Fixed 2025-01-27RHSA-2025:0722
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-controller-0:4.6.7-1.el8apFixed 2025-01-28RHSA-2025:0777
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.11-django-0:4.2.18-1.el8apFixed 2025-01-28RHSA-2025:0777
Red Hat Ansible Automation Platform 2.5 for RHEL 8ansible-automation-platform-25/lightspeed-rhel8:2.5.250121-2Fixed 2025-01-28RHSA-2025:0782
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-controller-0:4.6.7-1.el9apFixed 2025-01-28RHSA-2025:0777
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.11-django-0:4.2.18-1.el9apFixed 2025-01-28RHSA-2025:0777
Red Hat Satellite 6.16 for RHEL 8python-django-0:4.2.19-1.el8pcFixed 2025-03-05RHSA-2025:2399
Red Hat Satellite 6.16 for RHEL 9python-django-0:4.2.19-1.el9pcFixed 2025-03-05RHSA-2025:2399
Red Hat Ansible Automation Platform 1.2ansible-towerNot affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-dellemc-openmanage-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/platform-resource-runner-rhel8Not affected
Red Hat Ansible Automation Platform 2ee-dellemc-openmanage-rhel8Not affected
Red Hat Ansible Automation Platform 2python-djangoAffected
Red Hat Certification for Red Hat Enterprise Linux 7python-djangoNot affected
Red Hat OpenStack Platform 16.2python-django20Not affected
Red Hat OpenStack Platform 17.1python-djangoNot affected
Red Hat OpenStack Platform 18.0python-djangoNot affected
Red Hat Storage 3python-djangoNot affected
2 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-56374.

Attack patterns (CAPEC)

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).

References

Check your stackJSON