Feed
5.3MEDIUM
CVE-2024-45230Django vulnerable to denial-of-service attack via the urlize() and urlizetrunc() template filters
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.7%
- percentile 78%
- Fix
- Named by a source
- CVE published 8 Oct 2024
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.7% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 5.1.1 / 5.0.9 / 4.2.16 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/022ab0a75c76ab2ea31dfcc5f2cf5501e378d397
- Commit / pull request: https://github.com/django/django/commit/813de2672bd7361e9a453ab62cd6e52f96b6525b
- Commit / pull request: https://github.com/django/django/commit/d147a8ebbdf28c17cafbbe2884f0bc57e2bf82e2
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 5.1, < 5.1.1Fixed in5.1.1OSV (PYSEC-2024-102)
- Affected>= 5.0, < 5.0.9Fixed in5.0.9OSV (PYSEC-2024-102)
- Affected>= 4.2, < 4.2.16Fixed in4.2.16OSV (PYSEC-2024-102)
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-5hgc-2vfp-mqvc)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-120, CWE-400
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before 4.2.16. 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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-45230
- commit / pull requesthttps://github.com/django/django/commit/022ab0a75c76ab2ea31dfcc5f2cf5501e378d397
- commit / pull requesthttps://github.com/django/django/commit/813de2672bd7361e9a453ab62cd6e52f96b6525b
- commit / pull requesthttps://github.com/django/django/commit/d147a8ebbdf28c17cafbbe2884f0bc57e2bf82e2
- otherhttps://docs.djangoproject.com/en/dev/releases/security
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-102.yaml
- otherhttps://groups.google.com/forum/#%21forum/django-announce
- otherhttps://www.djangoproject.com/weblog/2024/sep/03/security-releases
- otherhttps://docs.djangoproject.com/en/dev/releases/security/
- otherhttps://www.djangoproject.com/weblog/2024/sep/03/security-releases/
- advisoryhttps://github.com/advisories/GHSA-5hgc-2vfp-mqvc
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-5hgc-2vfp-mqvc (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2024-102 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 26 min ago · osv 26 min ago · nvd 87 min ago · epss 26 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2024-45230, GHSA-5hgc-2vfp-mqvc, PYSEC-2024-102