ghsa-qcgg-j2x8-h9g8
Vulnerability from github
Published
2025-01-14 21:31
Modified
2025-01-15 15:14
Severity ?
Summary
Django has a potential denial-of-service vulnerability in IPv6 validation
Details
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.)
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "Django" }, "ranges": [ { "events": [ { "introduced": "5.1" }, { "fixed": "5.1.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "PyPI", "name": "Django" }, "ranges": [ { "events": [ { "introduced": "5.0" }, { "fixed": "5.0.11" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "PyPI", "name": "Django" }, "ranges": [ { "events": [ { "introduced": "4.2" }, { "fixed": "4.2.18" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "PyPI", "name": "django" }, "ranges": [ { "events": [ { "introduced": "5.1" }, { "fixed": "5.1.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "PyPI", "name": "django" }, "ranges": [ { "events": [ { "introduced": "5.0" }, { "fixed": "5.0.11" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "PyPI", "name": "django" }, "ranges": [ { "events": [ { "introduced": "4.2" }, { "fixed": "4.2.18" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-56374" ], "database_specific": { "cwe_ids": [ "CWE-770" ], "github_reviewed": true, "github_reviewed_at": "2025-01-14T22:04:30Z", "nvd_published_at": "2025-01-14T19:15:32Z", "severity": "MODERATE" }, "details": "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.)", "id": "GHSA-qcgg-j2x8-h9g8", "modified": "2025-01-15T15:14:29Z", "published": "2025-01-14T21:31:47Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-56374" }, { "type": "WEB", "url": "https://github.com/django/django/commit/ca2be7724e1244a4cb723de40a070f873c6e94bf" }, { "type": "WEB", "url": "https://docs.djangoproject.com/en/dev/releases/security" }, { "type": "PACKAGE", "url": "https://github.com/django/django" }, { "type": "WEB", "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://www.djangoproject.com/weblog/2025/jan/14/security-releases" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2025/01/14/2" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L", "type": "CVSS_V3" } ], "summary": "Django has a potential denial-of-service vulnerability in IPv6 validation" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.