# CVE-2024-56374

- Priority: **Routine**
- Reason: Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-14 · Modified: 2025-02-12
- Aliases: SUSE-SU-2025:0149-1, GHSA-qcgg-j2x8-h9g8, BIT-django-2024-56374, PYSEC-2025-1, UBUNTU-CVE-2024-56374, USN-7205-1, USN-7205-2, DEBIAN-CVE-2024-56374, DLA-4030-1, CGA-p5pw-m474-8xwq, CGA-wrj2-p232-v7m5, openSUSE-SU-2025:14651-1, CGA-3p22-7wqm-p8xm, CGA-6742-h9qr-gvjw, ALPINE-CVE-2024-56374
- Record: https://cvemate.com/vulnerability/CVE-2024-56374 · JSON: https://cvemate.com/vulnerability/CVE-2024-56374/json

## Description

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

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.277%, percentile 70.944%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine py3-django (Alpine Linux): \< 4.2.20-r0
- chainguard awx (Chainguard): \< 24.6.1-r3
- chainguard py3-django (Chainguard): \< 5.1.5-r0
- wolfi py3-django (Wolfi): \< 5.1.5-r0
- debian python-django (Debian): \< 3:3.2.25-0+deb12u1 \| \< 3:4.2.18-1 \| \< 2:2.2.28-1~deb11u5
- ubuntu python-django (Ubuntu): All versions (No fix recorded) \| \< 1:1.11.11-1ubuntu1.21+esm9 \| \< 2:2.2.12-1ubuntu0.27 \| \< 2:3.2.12-2ubuntu1.16 \| \< 3:4.2.11-1ubuntu1.5
- debian debian\_linux: 11.0
- djangoproject django: ≥ 4.2, \< 4.2.18 \| ≥ 5.0, \< 5.0.11 \| ≥ 5.1, \< 5.1.5
- PyPI django (PyPI): ≥ 5.1, \< 5.1.5 \| ≥ 5.0, \< 5.0.11 \| ≥ 4.2, \< 4.2.18
- opensuse python-Django4&distro=openSUSE Tumbleweed (openSUSE): \< 4.2.18-1.1
- opensuse python-Django&distro=openSUSE Leap 15.6 (openSUSE): \< 4.2.11-150600.3.15.1
- suse python-Django&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6 (SUSE Linux Enterprise): \< 4.2.11-150600.3.15.1

## References (first 20 of 25)

- <https://docs.djangoproject.com/en/dev/releases/security/>
- <https://groups.google.com/g/django-announce>
- <https://www.djangoproject.com/weblog/2025/jan/14/security-releases/>
- <http://www.openwall.com/lists/oss-security/2025/01/14/2>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00024.html>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20250149-1/>
- <https://bugzilla.suse.com/1235856>
- <https://www.suse.com/security/cve/CVE-2024-56374>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-56374>
- <https://github.com/django/django/commit/4806731e58f3e8700a3c802e77899d54ac6021fe>
- <https://github.com/django/django/commit/ad866a1ca3e7d60da888d25d27e46a8adb2ed36e>
- <https://github.com/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf>
- <https://github.com/django/django/commit/e8d4a2005955dcf962193600b53bf461b190b455>
- <https://docs.djangoproject.com/en/dev/releases/security>
- <https://github.com/django/django>
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-1.yaml>
- <https://www.djangoproject.com/weblog/2025/jan/14/security-releases>
- <https://github.com/advisories/GHSA-qcgg-j2x8-h9g8>
- <https://ubuntu.com/security/CVE-2024-56374>
- <https://www.cve.org/CVERecord?id=CVE-2024-56374>

---

Data as of 2026-12-05T08:28:40.316Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
