CVE-2018-7537 in Django信息

摘要

由 VulDB • 2026-06-09

在 Django 2.0(2.0.3 之前版本)、1.11(1.11.11 之前版本)和 1.8(1.8.19 之前版本)中发现了一个问题。如果向 `django.utils.text.Truncator` 的 `chars()` 和 `words()` 方法传递 `html=True` 参数,由于正则表达式中存在灾难性回溯漏洞,这些方法在评估某些输入时会变得极其缓慢。`chars()` 和 `words()` 方法用于实现 `truncatechars_html` 和 `truncatewords_html` 模板过滤器,因此这些过滤器存在漏洞。

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

来源

Want to stay up to date on a daily basis?

Enable the mail alert feature now!