Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2024-41990

CVE-2024-41990: Django vulnerable to a denial-of-service attack

August 7, 2024 (updated November 4, 2025)

An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.

References

  • docs.djangoproject.com/en/dev/releases/security
  • github.com/advisories/GHSA-795c-9xpc-xw6g
  • github.com/django/django
  • github.com/django/django/commit/7b7b909579c8311c140c89b8a9431bf537febf93
  • github.com/django/django/commit/d0a82e26a74940bf0c78204933c3bdd6a283eb88
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-68.yaml
  • groups.google.com/forum/
  • nvd.nist.gov/vuln/detail/CVE-2024-41990
  • security.netapp.com/advisory/ntap-20240905-0007
  • www.djangoproject.com/weblog/2024/aug/06/security-releases

Code Behaviors & Features

Detect and mitigate CVE-2024-41990 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.2 before 4.2.15, all versions starting from 5.0 before 5.0.8

Fixed versions

  • 5.0.8
  • 4.2.15

Solution

Upgrade to versions 4.2.15, 5.0.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-130: Improper Handling of Length Parameter Inconsistency

Source file

pypi/Django/CVE-2024-41990.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 17 Nov 2025 12:20:03 +0000.