{"schemaVersion":3,"id":"CVE-2024-56374","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"],"status":"published","duplicateOf":null,"title":null,"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.)","dates":{"published":"2025-01-14T00:00:00.000Z","modified":"2025-02-12T20:31:20.698Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01923,"percentile":0.79647,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01923},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01923,"percentile":0.79647}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01923,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01923,"percentile":0.79647}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"chainguard","product":"awx","name":"awx","label":"awx","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/awx","purlType":"apk","versions":[{"text":"< 24.6.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24.6.1-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3-django","name":"py3-django","label":"py3-django","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3-django","purlType":"apk","versions":[{"text":"< 5.1.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.5-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3-django","name":"py3-django","label":"py3-django","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3-django","purlType":"apk","versions":[{"text":"< 5.1.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.5-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-django","purlType":"deb","versions":[{"text":"< 3:3.2.25-0+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 3:4.2.18-1","noFixRecorded":false,"fixedIn":null},{"text":"< 2:2.2.28-1~deb11u5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3:3.2.25-0+deb12u1 | < 3:4.2.18-1 | < 2:2.2.28-1~deb11u5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-django","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2:2.2.12-1ubuntu0.27","noFixRecorded":false,"fixedIn":null},{"text":"< 2:3.2.12-2ubuntu1.16","noFixRecorded":false,"fixedIn":null},{"text":"< 3:4.2.11-1ubuntu1.5","noFixRecorded":false,"fixedIn":null},{"text":"< 1:1.11.11-1ubuntu1.21+esm9","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2:2.2.12-1ubuntu0.27 | < 2:3.2.12-2ubuntu1.16 | < 3:4.2.11-1ubuntu1.5 | < 1:1.11.11-1ubuntu1.21+esm9","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"djangoproject","product":"django","name":"django","label":"django","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.2, < 4.2.18","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0, < 5.0.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.1, < 5.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.2, < 4.2.18 | ≥ 5.0, < 5.0.11 | ≥ 5.1, < 5.1.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"django","label":"Django","category":"framework"}},"hubHref":"/vendor/djangoproject/django"},{"vendor":"PyPI","product":"django","name":"django","label":"django","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/django","purlType":"pypi","versions":[{"text":"≥ 5.1, < 5.1.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0, < 5.0.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2, < 4.2.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.1, < 5.1.5 | ≥ 5.0, < 5.0.11 | ≥ 4.2, < 4.2.18","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-Django4&distro=openSUSE Tumbleweed","name":"python-Django4","label":"python-Django4&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-Django4&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 4.2.18-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.18-1.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-Django&distro=openSUSE Leap 15.6","name":"python-Django","label":"python-Django&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-Django&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 4.2.11-150600.3.15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.11-150600.3.15.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-Django&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6","name":"python-Django","label":"python-Django&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-Django&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6","purlType":"rpm","versions":[{"text":"< 4.2.11-150600.3.15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.11-150600.3.15.1","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","label":"docs.djangoproject.com/en/dev/releases/security/","hostname":"docs.djangoproject.com","tags":["WEB","Vendor Advisory"]},{"url":"https://groups.google.com/g/django-announce","label":"groups.google.com/g/django-announce","hostname":"groups.google.com","tags":["WEB","Vendor Advisory"]},{"url":"https://www.djangoproject.com/weblog/2025/jan/14/security-releases/","label":"www.djangoproject.com/weblog/2025/jan/14/security-releases/","hostname":"www.djangoproject.com","tags":["ARTICLE","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/01/14/2","label":"www.openwall.com/lists/oss-security/2025/01/14/2","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00024.html","label":"lists.debian.org/debian-lts-announce/2025/01/msg00024.html","hostname":"lists.debian.org","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-20250149-1/","label":"www.suse.com/support/update/announcement/2025/suse-su-20250149-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1235856","label":"bugzilla.suse.com/1235856","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2024-56374","label":"www.suse.com/security/cve/CVE-2024-56374","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56374","label":"nvd.nist.gov/vuln/detail/CVE-2024-56374","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/django/django/commit/4806731e58f3e8700a3c802e77899d54ac6021fe","label":"github.com/django/django/commit/4806731e58f3e8700a3c802e77899d54ac6021fe","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/ad866a1ca3e7d60da888d25d27e46a8adb2ed36e","label":"github.com/django/django/commit/ad866a1ca3e7d60da888d25d27e46a8adb2ed36e","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf","label":"github.com/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/e8d4a2005955dcf962193600b53bf461b190b455","label":"github.com/django/django/commit/e8d4a2005955dcf962193600b53bf461b190b455","hostname":"github.com","tags":["WEB"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","label":"docs.djangoproject.com/en/dev/releases/security","hostname":"docs.djangoproject.com","tags":["WEB"]},{"url":"https://github.com/django/django","label":"github.com/django/django","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-1.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-1.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://www.djangoproject.com/weblog/2025/jan/14/security-releases","label":"www.djangoproject.com/weblog/2025/jan/14/security-releases","hostname":"www.djangoproject.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-qcgg-j2x8-h9g8","label":"github.com/advisories/GHSA-qcgg-j2x8-h9g8","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-56374","label":"ubuntu.com/security/CVE-2024-56374","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-56374","label":"www.cve.org/CVERecord?id=CVE-2024-56374","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7205-1","label":"ubuntu.com/security/notices/USN-7205-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7205-2","label":"ubuntu.com/security/notices/USN-7205-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-56374","label":"security-tracker.debian.org/tracker/CVE-2024-56374","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56374.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56374.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-6136-1","MGASA-2025-0039","OPENSUSE-SU-2025:14662-1","OPENSUSE-SU-2026:10005-1","OPENSUSE-SU-2026:11270-1","RHSA-2025:0777","RHSA-2025:2399","RHSA-2025:4576"],"duplicates":[],"related":["CGA-58G6-FH6X-CW6Q","CGA-GFM5-G6HC-VXG4","OPENSUSE-SU-2025:14662-1","OPENSUSE-SU-2026:10005-1","OPENSUSE-SU-2026:11270-1"]},"timeline":[{"kind":"published","date":"2025-01-14T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-12T20:31:20.698Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:45:54.892Z","stale":false,"partial":false}}