CVE-2024-56374 json
Django has a potential denial-of-service vulnerability in IPv6 validation
published 2025-01-14 21 mo ago modified 2026-09-10 59 d ago also BIT-django-2024-56374 , EUVD-2025-0001 , GHSA-qcgg-j2x8-h9g8 , PYSEC-2025-1
- cvss
- 5.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- pypi django 4.2.18, 5.0.11, 5.1.5
- bitnami django 5.1.5
- djangoproject Django 4.2.18, 5.0.11, 5.1.5
- python-django Debian 12 3:3.2.25-0+deb12u1
- python-django Debian 14, Debian 13 3:4.2.18-1
debian advisories DEBIAN-CVE-2024-56374
- python-django Ubuntu 20.04 LTS 2:2.2.12-1ubuntu0.27
- python-django Ubuntu 22.04 LTS 2:3.2.12-2ubuntu1.16
- python-django Ubuntu 24.04 LTS 3:4.2.11-1ubuntu1.5
- python-django Ubuntu Pro 18.04 LTS 1:1.11.11-1ubuntu1.21+esm9
ubuntu advisories UBUNTU-CVE-2024-56374
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rubygem-rack satellite capsule 6.17, satellite 6.17 2.2.13-1.el9sat
- python-django satellite capsule 6.17, satellite 6.17 4.2.19-1.el9pc
- python-jinja2 satellite capsule 6.17, satellite 6.17 3.1.5-1.el9pc
- rubygem-graphql satellite 6.17 1.13.24-1.el9sat
- python3.11-django satellite capsule 6.17, satellite 6.17 4.2.19-1.el9pc
- python3.11-jinja2 satellite capsule 6.17, satellite 6.17 3.1.5-1.el9pc
- foreman satellite utils 6.16, satellite capsule 6.16, satellite 6.16 3.12.0.6-1.el8sat
- foreman satellite utils 6.16, satellite capsule 6.16, satellite 6.16 3.12.0.6-1.el9sat
red hat advisories RHSA-2025:4576RHSA-2025:2399RHSA-2025:0777
- python-Django SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 4.2.11-150600.3.15.1
suse advisories SUSE-SU-2025:0149-1
- python-Django5 openSUSE Tumbleweed 5.2.16-1.1
- python-Django6 openSUSE Tumbleweed 6.0-1.1
- python-Django openSUSE Tumbleweed 5.1.5-1.1
- python-Django4 openSUSE Tumbleweed 4.2.18-1.1
opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:10005-1openSUSE-SU-2025:14662-1openSUSE-SU-2025:14651-1
- py3-django Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 4.2.20-r0
alpine advisories ALPINE-CVE-2024-56374
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-56374 updated cvss 5.8
django: potential denial-of-service vulnerability in IPv6 validation
-
Red Hat Ansible Automation Platform 2 python-djangoaffected: no fix available
-
Red Hat Update Infrastructure 4 for Cloud Providers python-djangoaffected: no fix planned “Will not fix”
-
Red Hat Discovery 1 for RHEL 9 discovery/discovery-ui-rhel9 1.12.0-1, discovery/discovery-server-rhel9 1.12.0-1fixed: vendor fix RHSA-2025:1249
-
Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-automation-platform-24/lightspeed-rhel8-operator 2.4-33fixed: vendor fix RHSA-2025:0722
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 python3.11-django 4.2.18-1.el8ap, automation-controller-venv-tower 4.6.7-1.el8ap, ansible-automation-platform-25/lightspeed-rhel8 2.5.250121-2 Red Hat Ansible Automation Platform 2.5 for RHEL 9 python3.11-django 4.2.18-1.el9ap, automation-controller-venv-tower 4.6.7-1.el9apfixed: vendor fix RHSA-2025:0777
-
Red Hat Satellite 6.16 for RHEL 8 python-django 4.2.19-1.el8pc, python3.11-django 4.2.19-1.el8pc Red Hat Satellite 6.16 for RHEL 9 python-django 4.2.19-1.el9pc, python3.11-django 4.2.19-1.el9pcfixed: vendor fix RHSA-2025:2399
-
Red Hat Satellite 6.17 for RHEL 9 python-django 4.2.19-1.el9pc, python3.11-django 4.2.19-1.el9pcfixed: vendor fix RHSA-2025:4576
-
Red Hat Ansible Automation Platform 1.2 ansible-tower Red Hat Ansible Automation Platform 2 ee-dellemc-openmanage-rhel8, ansible-automation-platform-24/ee-dellemc-openmanage-rhel8, ansible-automation-platform-24/platform-resource-runner-rhel8 Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-automation-platform-24/hub-rhel8 4.9.2-35, ansible-automation-platform-24/ee-29-rhel8 1.0.0-433, ansible-automation-platform-24/hub-web-rhel8 4.9.2-33, ansible-automation-platform-24/controller-rhel8 4.5.17-2, ansible-automation-platform-24/de-minimal-rhel8 1.0.7-55, ansible-automation-platform-24/ee-minimal-rhel8 1.0.0-809, +23 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-automation-platform-24/de-minimal-rhel9 1.0.7-56, ansible-automation-platform-24/ee-minimal-rhel9 1.0.0-808, ansible-automation-platform-24/de-supported-rhel9 1.0.7-64, ansible-automation-platform-24/ee-supported-rhel9 1.0.0-888, ansible-automation-platform-24/ansible-builder-rhel9 3.0.1-111, ansible-automation-platform-24/ansible-python-base-rhel9 1.0.0-697, +1 more Red Hat Ansible Automation Platform 2.5 for RHEL 8 python3.11-jinja2 3.1.5-1.el8ap, automation-controller 4.6.7-1.el8ap, python3.11-pulpcore 3.49.30-1.el8ap, automation-controller-ui 4.6.7-1.el8ap, automation-controller-cli 4.6.7-1.el8ap, automation-eda-controller 1.1.4-1.el8ap, +37 more Red Hat Ansible Automation Platform 2.5 for RHEL 9 python3.11-jinja2 3.1.5-1.el9ap, automation-controller 4.6.7-1.el9ap, python3.11-pulpcore 3.49.30-1.el9ap, automation-controller-ui 4.6.7-1.el9ap, automation-controller-cli 4.6.7-1.el9ap, automation-eda-controller 1.1.4-1.el9ap, +14 morenot affected: vulnerable code not present
+8 more productsfewer
Red Hat Certification for Red Hat Enterprise Linux 7 python-django Red Hat OpenStack Platform 16.2 python-django20, python3-django20, python-django20-bash-completion Red Hat OpenStack Platform 17.1 python-django, python3-django Red Hat OpenStack Platform 18.0 python-django Red Hat Satellite 6.16 for RHEL 8 candlepin 4.4.21-1.el8sat, foreman 3.12.0.6-1.el8sat, satellite 6.16.3-2.el8sat, python-jinja2 3.1.5-1.el8pc, foreman-cli 3.12.0.6-1.el8sat, foreman-ec2 3.12.0.6-1.el8sat, +36 more Red Hat Satellite 6.16 for RHEL 9 candlepin 4.4.21-1.el9sat, foreman 3.12.0.6-1.el9sat, satellite 6.16.3-2.el9sat, python-jinja2 3.1.5-1.el9pc, foreman-cli 3.12.0.6-1.el9sat, foreman-ec2 3.12.0.6-1.el9sat, +36 more Red Hat Satellite 6.17 for RHEL 9 cjson 1.7.17-1.el9sat, katello 4.16.0-1.el9sat, libcomps 0.1.21-1.el9pc, python-jq 1.8.0-1.el9pc, python-idna 3.10-1.el9pc, python-pbr 6.1.0-1.el9pc, +672 more Red Hat Storage 3 python-django, python2-django, python-django-bash-completion
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
1.28% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
| GitHub | 3.1 | 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=5.1, <5.1.5 >=5.0, <5.0.11 >=4.2, <4.2.18 |
5.1.5 5.0.11 4.2.18 |
| bitnami | django | >=4.2.0, <5.1.5 |
5.1.5 |
Affected products
- djangoproject Django
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
- Technology feeds
References
-
github.com
/django/django/commit/4806731e58f3e8700a3c802e77899d54ac6021fe
web
-
github.com
/django/django/commit/ad866a1ca3e7d60da888d25d27e46a8adb2ed36e
web
-
github.com
/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf
web
-
github.com
/django/django/commit/e8d4a2005955dcf962193600b53bf461b190b455
web
-
docs.djangoproject.com
/en/dev/releases/security/
vendor-advisory, advisory, web
-
groups.google.com
/g/django-announce
web, vendor-advisory, advisory
-
djangoproject.com
/weblog/2025/jan/14/security-releases/
vendor-advisory, advisory, article
-
openwall.com
/lists/oss-security/2025/01/14/2
web, mailing-list, third-party-advisory, advisory
-
lists.debian.org
/debian-lts-announce/2025/01/msg00024.html
web, mailing-list, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-56374
advisory, web
-
docs.djangoproject.com
/en/dev/releases/security
web
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-1.yaml
web
-
djangoproject.com
/weblog/2025/jan/14/security-releases
web
-
github.com
/advisories/GHSA-qcgg-j2x8-h9g8
advisory
Sources
- CVE List CVE-2024-56374
- GitHub Advisory GHSA-qcgg-j2x8-h9g8
- NVD CVE-2024-56374
- OSV BIT-django-2024-56374
- OSV PYSEC-2025-1
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.