CVE
CVE-2024-27351
CVE-2024-27351MED 5.3EPSS 80%
CNA 原文 · 原文(英文)
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.
受影响版本
- django≥ 5.0, < 5.0.3修复版本 5.0.3
- django≥ 4.2, < 4.2.11修复版本 4.2.11
- django≥ 3.2, < 3.2.25修复版本 3.2.25
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- docs.djangoproject.com/en/5.0/releases/security/ · Release Notes, Vendor Advisory
- www.djangoproject.com/weblog/2024/mar/04/security-releases/ · Vendor Advisory
- github.com/django/django/commit/072963e4c4d0b3a7a8c5412bc0c7d27d1a9c35 · Patch
- github.com/django/django/commit/3394fc6132436eca89e997083bae9985fb7e76 · Patch
- github.com/django/django/commit/3c9a2771cc80821e041b16eb36c1c37af5349d · Patch
- github.com/advisories/GHSA-vm8q-m57g-pff3 · Third Party Advisory
- osv.dev/vulnerability/GHSA-vm8q-m57g-pff3 · Third Party Advisory
- docs.djangoproject.com/en/5.0/releases/security · Vendor Advisory
- www.djangoproject.com/weblog/2024/mar/04/security-releases · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2024-47 · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。