CVEMETERBack to radar
OFFICIAL RECORD · Python packages

CVE-2024-56374

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.8 · medium

Python packages · CVE-2024-56374

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

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 1.277% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.8 · published by mitre
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
Assessment source · checked 2026-11-19T12:57:21.616Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssverified2026-11-19T12:57:21.616ZCVE Program
epssverified2026-11-19T16:04:39.514ZFIRST EPSS
patchesverified2026-11-19T12:52:01.389ZOSV
affectedverified2026-11-19T12:57:21.616ZCVE Program
lifecycleverified2026-11-19T12:57:21.616ZCVE Program

Affected versions and configuration

djangoproject Django; default status: unknown: 4.2 to < 4.2.18 [affected; scheme: custom]; 5.0 to < 5.0.11 [affected; scheme: custom]; 5.1 to < 5.1.5 [affected; scheme: custom]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "djangoproject",
      "product": "Django",
      "versions": [
        {
          "status": "affected",
          "version": "4.2",
          "lessThan": "4.2.18",
          "versionType": "custom"
        },
        {
          "status": "affected",
          "version": "5.0",
          "lessThan": "5.0.11",
          "versionType": "custom"
        },
        {
          "status": "affected",
          "version": "5.1",
          "lessThan": "5.1.5",
          "versionType": "custom"
        }
      ],
      "defaultStatus": "unknown"
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "http://www.openwall.com/lists/oss-security/2025/01/14/2"
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00024.html"
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2025-01-23T18:03:28.376Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2024-56374",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-01-15T19:40:35.398718Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-02-12T20:31:20.698Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-qcgg-j2x8-h9g8",
  "aliases": [
    "BIT-django-2024-56374",
    "CVE-2024-56374",
    "PYSEC-2025-1"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.1"
            },
            {
              "fixed": "5.1.5"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "5.1",
        "5.1.1",
        "5.1.2",
        "5.1.3",
        "5.1.4"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-qcgg-j2x8-h9g8/GHSA-qcgg-j2x8-h9g8.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.0"
            },
            {
              "fixed": "5.0.11"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "5.0",
        "5.0.1",
        "5.0.10",
        "5.0.2",
        "5.0.3",
        "5.0.4",
        "5.0.5",
        "5.0.6",
        "5.0.7",
        "5.0.8",
        "5.0.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-qcgg-j2x8-h9g8/GHSA-qcgg-j2x8-h9g8.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "4.2"
            },
            {
              "fixed": "4.2.18"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "4.2",
        "4.2.1",
        "4.2.10",
        "4.2.11",
        "4.2.12",
        "4.2.13",
        "4.2.14",
        "4.2.15",
        "4.2.16",
        "4.2.17",
        "4.2.2",
        "4.2.3",
        "4.2.4",
        "4.2.5",
        "4.2.6",
        "4.2.7",
        "4.2.8",
        "4.2.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-qcgg-j2x8-h9g8/GHSA-qcgg-j2x8-h9g8.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.1"
            },
            {
              "fixed": "5.1.5"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "5.1",
        "5.1.1",
        "5.1.2",
        "5.1.3",
        "5.1.4"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-qcgg-j2x8-h9g8/GHSA-qcgg-j2x8-h9g8.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.0"
            },
            {
              "fixed": "5.0.11"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "5.0",
        "5.0.1",
        "5.0.10",
        "5.0.2",
        "5.0.3",
        "5.0.4",
        "5.0.5",
        "5.0.6",
        "5.0.7",
        "5.0.8",
        "5.0.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-qcgg-j2x8-h9g8/GHSA-qcgg-j2x8-h9g8.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "4.2"
            },
            {
              "fixed": "4.2.18"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "4.2",
        "4.2.1",
        "4.2.10",
        "4.2.11",
        "4.2.12",
        "4.2.13",
        "4.2.14",
        "4.2.15",
        "4.2.16",
        "4.2.17",
        "4.2.2",
        "4.2.3",
        "4.2.4",
        "4.2.5",
        "4.2.6",
        "4.2.7",
        "4.2.8",
        "4.2.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-qcgg-j2x8-h9g8/GHSA-qcgg-j2x8-h9g8.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-56374",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/django/django/commit/4806731e58f3e8700a3c802e77899d54ac6021fe",
      "type": "WEB"
    },
    {
      "url": "https://github.com/django/django/commit/ad866a1ca3e7d60da888d25d27e46a8adb2ed36e",
      "type": "WEB"
    },
    {
      "url": "https://github.com/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf",
      "type": "WEB"
    },
    {
      "url": "https://github.com/django/django/commit/e8d4a2005955dcf962193600b53bf461b190b455",
      "type": "WEB"
    },
    {
      "url": "https://docs.djangoproject.com/en/dev/releases/security",
      "type": "WEB"
    },
    {
      "url": "https://github.com/django/django",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-1.yaml",
      "type": "WEB"
    },
    {
      "url": "https://groups.google.com/g/django-announce",
      "type": "WEB"
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00024.html",
      "type": "WEB"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2025/jan/14/security-releases",
      "type": "WEB"
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2025/01/14/2",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-770"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2025-01-14T19:15:32Z",
    "github_reviewed_at": "2025-01-14T22:04:30Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "PYSEC-2025-1",
  "aliases": [
    "BIT-django-2024-56374",
    "CVE-2024-56374",
    "GHSA-qcgg-j2x8-h9g8"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.1"
            },
            {
              "fixed": "5.1.5"
            },
            {
              "introduced": "5.0"
            },
            {
              "fixed": "5.0.11"
            },
            {
              "introduced": "4.2"
            },
            {
              "fixed": "4.2.18"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "4.2",
        "4.2.1",
        "4.2.10",
        "4.2.11",
        "4.2.12",
        "4.2.13",
        "4.2.14",
        "4.2.15",
        "4.2.16",
        "4.2.17",
        "4.2.2",
        "4.2.3",
        "4.2.4",
        "4.2.5",
        "4.2.6",
        "4.2.7",
        "4.2.8",
        "4.2.9",
        "5.0",
        "5.0.1",
        "5.0.10",
        "5.0.2",
        "5.0.3",
        "5.0.4",
        "5.0.5",
        "5.0.6",
        "5.0.7",
        "5.0.8",
        "5.0.9",
        "5.1",
        "5.1.1",
        "5.1.2",
        "5.1.3",
        "5.1.4"
      ],
      "database_specific": {
        "source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2025-1.yaml"
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://www.djangoproject.com/weblog/2025/jan/14/security-releases/",
      "type": "ARTICLE"
    },
    {
      "url": "https://docs.djangoproject.com/en/dev/releases/security/",
      "type": "WEB"
    },
    {
      "url": "https://groups.google.com/g/django-announce",
      "type": "WEB"
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2025/01/14/2",
      "type": "WEB"
    },
    {
      "url": "https://github.com/advisories/GHSA-qcgg-j2x8-h9g8",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel5.1.5Official record
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel5.0.11Official record
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel4.2.18Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history