Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-38875
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 20:59 UTC · Revision 1

Source evidence

CVE-2024-38875

core-osv · Original source

Published 10 Jul 2024, 00:00 UTC

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.

osv:CVE-2024-38875
Complete source record
{
  "id": "1e6fc5f3dca8630600a3fb35aa6f5e6dfcf97556b348248bcb9ccf40fbf92c36",
  "url": "https://osv.dev/vulnerability/CVE-2024-38875",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-38875",
    "summary": "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.",
    "evidence": "osv:CVE-2024-38875",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-38875",
      "aliases": [
        "BIT-django-2024-38875",
        "CVE-2024-38875",
        "GHSA-qg2p-9jwr-mmqf",
        "PYSEC-2024-56"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/django/django",
              "type": "GIT",
              "events": [
                {
                  "introduced": "97aa3b7f08f51669e118f3af5ca91026e39664c3"
                },
                {
                  "fixed": "98cf264c9cb0561e4ec305a621e9d58116e44aef"
                },
                {
                  "introduced": "52821001bb62b764d73e63812133f199b8fef9eb"
                },
                {
                  "fixed": "deec9b933ee8496274e4c53217a38f31cb59a27f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.2"
                      },
                      {
                        "fixed": "4.2.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0"
                      },
                      {
                        "fixed": "5.0.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38875.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.515094387Z",
      "provider": "osv",
      "references": [
        "https://docs.djangoproject.com/en/dev/releases/security/",
        "https://groups.google.com/forum/#%21forum/django-announce",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38875.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-38875",
        "https://security.netapp.com/advisory/ntap-20240808-0005/",
        "https://www.djangoproject.com/weblog/2024/jul/09/security-releases/"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38875.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-38875",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520395,
  "published_at": "2024-07-10T00:00:00+00:00"
}