Feed
5.3MEDIUM
CVE-2024-27351Regular expression denial-of-service in Django
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 2.4% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.4%
- percentile 84%
- Fix
- Named by a source
- CVE published 15 Mar 2024
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.4% (+2) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- django (PyPI): upgrade to 3.2.25 / 4.2.11 / 5.0.3 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/072963e4c4d0b3a7a8c5412bc0c7d27d1a9c3521
- Commit / pull request: https://github.com/django/django/commit/3394fc6132436eca89e997083bae9985fb7e761e
- Commit / pull request: https://github.com/django/django/commit/3c9a2771cc80821e041b16eb36c1c37af5349d4a
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 3.2, < 3.2.25Fixed in3.2.25OSV (PYSEC-2024-47)
- Affected>= 4.2, < 4.2.11Fixed in4.2.11OSV (PYSEC-2024-47)
- Affected>= 5.0, < 5.0.3Fixed in5.0.3OSV (PYSEC-2024-47)
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-vm8q-m57g-pff3)
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-1333
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.
Update history
- 18 Nov 2025Exploitation more likely 1.9% → 30.5%
- 7 Apr 2025Exploitation more likely 1.2% → 14.8%
- 3 Apr 2025Exploitation more likely 2.9% → 14.8%
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-27351
- commit / pull requesthttps://github.com/django/django/commit/072963e4c4d0b3a7a8c5412bc0c7d27d1a9c3521
- commit / pull requesthttps://github.com/django/django/commit/3394fc6132436eca89e997083bae9985fb7e761e
- commit / pull requesthttps://github.com/django/django/commit/3c9a2771cc80821e041b16eb36c1c37af5349d4a
- otherhttps://docs.djangoproject.com/en/5.0/releases/security
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-47.yaml
- otherhttps://groups.google.com/forum/#%21forum/django-announce
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D
- otherhttps://www.djangoproject.com/weblog/2024/mar/04/security-releases
- otherhttp://www.openwall.com/lists/oss-security/2024/03/04/1
- otherhttps://docs.djangoproject.com/en/5.0/releases/security/
- otherhttps://www.djangoproject.com/weblog/2024/mar/04/security-releases/
- advisoryhttps://github.com/advisories/GHSA-vm8q-m57g-pff3
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-vm8q-m57g-pff3 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2024-47 (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 49 min ago · osv 49 min ago · nvd 49 min ago · epss 48 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2024-27351, GHSA-vm8q-m57g-pff3, PYSEC-2024-47