CVE-2018-7537

Description

An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncators chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.

Risk Information

Base Score
5.3
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Score
Exploitation Probability
0.678

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2018-7536,CVE-2018-7537 are fixed in Python-django 1.11.11Windows
Vulnerabilities CVE-2018-7536,CVE-2018-7537 are fixed in Python-django 1.8.19Windows
Vulnerabilities CVE-2018-7536,CVE-2018-7537 are fixed in Python-django 2.0.3Windows
High-level Python web development framework (USN-3591-1) python-django_1.11.4-1ubuntu1.2_all.debLinux
High-level Python web development framework (USN-3591-1) python3-django_1.11.4-1ubuntu1.2_all.debLinux
python-django security update(DSA-4161-1) python-django_1.7.11-1+deb8u3_all.debLinux
python-django security update(DSA-4161-1) python-django_1.10.7-2+deb9u1_all.debLinux
Vulnerabilities CVE-2018-7536,CVE-2018-7537 are fixed in Python-django for linux 1.11.11Linux
Vulnerabilities CVE-2018-7536,CVE-2018-7537 are fixed in Python-django for linux 1.8.19Linux
Vulnerabilities CVE-2018-7536,CVE-2018-7537 are fixed in Python-django for linux 2.0.3Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234