ALPINE-CVE-2018-7537 PUBLISHED CVSS 5.300000190734863 MEDIUM

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.Truncator's 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 Scores

CVSS v3.0
5.300000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected Products

VendorProductVersions
Alpine:v3.8py-django1.4.1-r0, 1.8.12-r0, 1.2.5-r1
Alpine:v3.4py-django0, 1.2.5-r0, 1.2.5-r1
Alpine:v3.9py-django0, 1.8.14-r0, 1.11.9-r0
Alpine:v3.5py-django1.5.8-r0, 1.6.5-r0, 1.7-r0
Alpine:v3.6py-django1.5.5-r0, 0, 1.10.5-r0
Alpine:v3.7py-django1.8.8-r0, 1.8.7-r0, 1.8.6-r0
Alpine:v3.12py3-django1.8.8-r0, 0, 1.10.5-r0
Alpine:v3.10py-django1.10.5-r0, 0, 1.8.8-r0
Alpine:v3.11py3-django0, 1.10.5-r0, 1.10.7-r0

Timeline

References

Open in Interactive Console →