# CVE-2024-56374: python3-django: An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and4.2 before 4.2.18

CVE-2024-56374 is fixed in 4 products on 1 platform, first by python-django 1:1.11.11-1ubuntu1.21+esm9, released January 14, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-56374
- Priority: High
- CVSS: 7.5 (Medium)
- EPSS: 0.0128
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 14, 2025

## Description

An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and4.2 before 4.2.18. Lack of upper-bound limit enforcement in strings passedwhen performing IPv6 validation could lead to a potential denial-of-serviceattack. The undocumented and private functions clean_ipv6_address andis_valid_ipv6_address are vulnerable, as is thedjango.forms.GenericIPAddressField form field. (Thedjango.db.models.GenericIPAddressField model field is not affected.)

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-Django opensuse-leap 15.6 | 4.2.11-150600.3.15.1 | [SUSE-SU-2025:0149-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0149-1.md) | Jan 16, 2025 |
| Linux | python-Django sles 15.6 | 4.2.11-150600.3.15.1 | [SUSE-SU-2025:0149-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0149-1.md) | Jan 16, 2025 |
| Linux | python-django Debian 11.6 (bullseye) | 2:2.2.28-1~deb11u5 | [DLA-4030-1](https://patchblox.com/security/data/fix/linux/dla-4030-1.md) | Jan 23, 2025 |
| Linux | python-django Debian 12.15 (bookworm) | 3:3.2.25-0+deb12u1 | [DEBIAN-CVE-2024-56374](https://patchblox.com/security/data/fix/linux/debian-cve-2024-56374.md) | Jan 14, 2025 |
| Linux | python-django Debian 13.5 (trixie) | 3:4.2.18-1 | [DEBIAN-CVE-2024-56374](https://patchblox.com/security/data/fix/linux/debian-cve-2024-56374.md) | Jan 14, 2025 |
| Linux | python-django Debian 14 | 3:4.2.18-1 | [DEBIAN-CVE-2024-56374](https://patchblox.com/security/data/fix/linux/debian-cve-2024-56374.md) | Jan 14, 2025 |
| Linux | python-django Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.21+esm9 | [python-django 1:1.11.11-1ubuntu1.21+esm9](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-django-1-1.11.11-1ubuntu1.21-esm9.md) | Jan 14, 2025 |
| Linux | python-django-common Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.21+esm9 | [python-django-common 1:1.11.11-1ubuntu1.21+esm9](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-django-common-1-1.11.11-1ubuntu1.21-esm9.md) | Jan 14, 2025 |
| Linux | python3-django Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.21+esm9 | [python3-django 1:1.11.11-1ubuntu1.21+esm9](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-django-1-1.11.11-1ubuntu1.21-esm9.md) | Jan 14, 2025 |
| Linux | python3-django Ubuntu 20.04 LTS (focal) | 2:2.2.12-1ubuntu0.27 | [python3-django 2:2.2.12-1ubuntu0.27](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-django-2-2.2.12-1ubuntu0.27.md) | Jan 14, 2025 |
| Linux | python3-django Ubuntu 22.04.1 LTS (jammy) | 2:3.2.12-2ubuntu1.16 | [python3-django 2:3.2.12-2ubuntu1.16](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-django-2-3.2.12-2ubuntu1.16.md) | Jan 14, 2025 |
| Linux | python3-django Ubuntu 24.04.5 LTS (noble) | 3:4.2.11-1ubuntu1.5 | [python3-django 3:4.2.11-1ubuntu1.5](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-django-3-4.2.11-1ubuntu1.5.md) | Jan 14, 2025 |
| Linux | python3-django Ubuntu 24.10 (oracular) | 3:4.2.15-1ubuntu1.2 | [python3-django 3:4.2.15-1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-django-3-4.2.15-1ubuntu1.2.md) | Jan 16, 2026 |
| Linux | python3-django Ubuntu 25.04 (plucky) | 3:4.2.18-1 | [python3-django 3:4.2.18-1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-django-3-4.2.18-1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
