CVE-2024-38875
Python packages · CVE-2024-38875
An issue was discovered in Django 4.2 before 4.2.14 and 5.0 before 5.0.7. urlize and urlizetrunc were subject to a potential denial of service attack via certain inputs with a very large number of brackets.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.187% · 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-19T16:57:41.748Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:38.699Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:01.389Z | OSV |
| affected | verified | 2026-11-19T12:57:14.522Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:14.522Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
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": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-38875",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-07-10T13:43:12.424005Z"
}
}
}
],
"affected": [
{
"cpes": [
"cpe:2.3:a:djangoproject:django:4.2:-:*:*:*:*:*:*"
],
"vendor": "djangoproject",
"product": "django",
"versions": [
{
"status": "affected",
"version": "4.2",
"lessThan": "4.2.14",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"cpes": [
"cpe:2.3:a:djangoproject:django:5.0:*:*:*:*:*:*:*"
],
"vendor": "djangoproject",
"product": "django",
"versions": [
{
"status": "affected",
"version": "5.0",
"lessThan": "5.0.7",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-130",
"description": "CWE-130 Improper Handling of Length Parameter Inconsistency"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-07-11T16:32:32.187Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://docs.djangoproject.com/en/dev/releases/security/",
"tags": [
"x_transferred"
]
},
{
"url": "https://groups.google.com/forum/#%21forum/django-announce",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.djangoproject.com/weblog/2024/jul/09/security-releases/",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20240808-0005/"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-04T16:12:24.941Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-qg2p-9jwr-mmqf",
"aliases": [
"BIT-django-2024-38875",
"CVE-2024-38875",
"PYSEC-2024-56"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.2"
},
{
"fixed": "4.2.14"
}
]
}
],
"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.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/2024/07/GHSA-qg2p-9jwr-mmqf/GHSA-qg2p-9jwr-mmqf.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.0"
},
{
"fixed": "5.0.7"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"5.0",
"5.0.1",
"5.0.2",
"5.0.3",
"5.0.4",
"5.0.5",
"5.0.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-qg2p-9jwr-mmqf/GHSA-qg2p-9jwr-mmqf.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-38875",
"type": "ADVISORY"
},
{
"url": "https://github.com/django/django/commit/7285644640f085f41d60ab0c8ae4e9153f0485db",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/79f368764295df109a37192f6182fb6f361d85b5",
"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-2024-56.yaml",
"type": "WEB"
},
{
"url": "https://groups.google.com/forum/#%21forum/django-announce",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20240808-0005",
"type": "WEB"
},
{
"url": "https://www.djangoproject.com/weblog/2024/jul/09/security-releases",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-130",
"CWE-770"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2024-07-10T05:15:12Z",
"github_reviewed_at": "2024-07-10T21:41:03Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2024-56",
"aliases": [
"BIT-django-2024-38875",
"CVE-2024-38875",
"GHSA-qg2p-9jwr-mmqf"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.2"
},
{
"fixed": "4.2.14"
},
{
"introduced": "5.0"
},
{
"fixed": "5.0.7"
}
]
}
],
"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.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.2",
"5.0.3",
"5.0.4",
"5.0.5",
"5.0.6"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2024-56.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://docs.djangoproject.com/en/dev/releases/security/",
"type": "WEB"
},
{
"url": "https://groups.google.com/forum/#%21forum/django-announce",
"type": "WEB"
},
{
"url": "https://www.djangoproject.com/weblog/2024/jul/09/security-releases/",
"type": "ARTICLE"
},
{
"url": "https://github.com/advisories/GHSA-qg2p-9jwr-mmqf",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 4.2.14 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 5.0.7 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2024-07-10T06:33:52.000Z
Source modification: 2026-09-10T03:50:16.815ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2024-07-10T05:15:00.000Z
Source modification: 2026-06-10T17:01:04.708ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - CVE ProgramConsulted: 2026-11-19T12:57:14.522ZArchived source JSON
Source publication: 2024-07-10T00:00:00.000Z
Source modification: 2025-11-04T16:12:24.941ZDocument fingerprint
38e40193d28be02b77d64688ccf0651b015c8946d734b517a33794bde14d9212 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:38.699ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
b254813e22792d1b2a11f4d85d4f5aea677f6a8ea9afd9fead48fed930e47e43
Official status history
- UNKNOWN → PUBLISHED · · evidence