Skip to main content
VulnerabilityPublished Updated

CVE-2024-56374: Python django · An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 before

Affects python-djangoSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 1:1.11.11-1ubuntu1.21+esm9 : patch python-django soon.

Data as of 24 Nov 2026, 19:42 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1:1.11.11-1ubuntu1.21+esm9, 2:2.2.12-1ubuntu0.27, 2:3.2.12-2ubuntu1.16 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jan 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=nobleOther threatsAffected
  • <3:4.2.11-1ubuntu1.5
Fixed in
  • 3:4.2.11-1ubuntu1.5
Ubuntu 22.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=jammyOther threatsAffected
  • <2:3.2.12-2ubuntu1.16
Fixed in
  • 2:3.2.12-2ubuntu1.16
Ubuntu 20.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=focalOther threatsAffected
  • <2:2.2.12-1ubuntu0.27
Fixed in
  • 2:2.2.12-1ubuntu0.27
Ubuntu Pro 18.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1:1.11.11-1ubuntu1.21+esm9
Fixed in
  • 1:1.11.11-1ubuntu1.21+esm9
Ubuntu Pro 16.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • 1.7.9-1ubuntu5 – 1.8.7-1ubuntu5.15+esm13
33 affected builds
Fixed in–
Ubuntu Pro 14.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 1.5.4-1ubuntu1 – 1.6.11-0ubuntu1.3+esm12
35 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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

References

Community reviews

Loading reviews…