CVE-2018-7537
CVE-2018-7537
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 4.4% · Fix available
- Published
- Updated
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
python-django Debian:12
- Affected ranges
- ECOSYSTEM: < 1:1.11.11-1
Update to 1:1.11.11-1
python-django Debian:13
- Affected ranges
- ECOSYSTEM: < 1:1.11.11-1
Update to 1:1.11.11-1
python-django Debian:14
- Affected ranges
- ECOSYSTEM: < 1:1.11.11-1
Update to 1:1.11.11-1
django PyPI
- Versions
- 2.0
- 2.0.1
- 2.0.2
- Affected ranges
- ECOSYSTEM: ≥ 2.0, < 2.0.3
Update to 2.0.3
django PyPI
- Versions
- 1.11
- 1.11.1
- 1.11.10
- 1.11.2
- 1.11.3
- 1.11.4
- 1.11.5
- 1.11.6
- 1.11.7
- 1.11.8
- 1.11.9
- Affected ranges
- ECOSYSTEM: ≥ 1.11, < 1.11.11
Update to 1.11.11
django PyPI
- Versions
- 1.8
- 1.8.1
- 1.8.10
- 1.8.11
- 1.8.12
- 1.8.13
- 1.8.14
- 1.8.15
- 1.8.16
- 1.8.17
- 1.8.18
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.8.6
- 1.8.7
- 1.8.8
- 1.8.9
- Affected ranges
- ECOSYSTEM: ≥ 1.8, < 1.8.19
Update to 1.8.19
django PyPI
- Versions
- 1.11
- 1.11.1
- 1.11.10
- 1.11.2
- 1.11.3
- 1.11.4
- 1.11.5
- 1.11.6
- 1.11.7
- 1.11.8
- 1.11.9
- 1.8
- 1.8.1
- 1.8.10
- 1.8.11
- 1.8.12
- 1.8.13
- 1.8.14
- 1.8.15
- 1.8.16
- 1.8.17
- 1.8.18
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.8.6
- 1.8.7
- 1.8.8
- 1.8.9
- 2.0
- 2.0.1
- 2.0.2
- Affected ranges
- ECOSYSTEM: ≥ 1.8, < 1.8.19 ∪ ≥ 1.11, < 1.11.11 ∪ ≥ 2.0, < 2.0.3
Update to 1.8.19; Update to 1.11.11; Update to 2.0.3
python-django Ubuntu:14.04:LTS
- Versions
- 1.5.4-1ubuntu1
- 1.6-1
- 1.6.1-1
- 1.6.1-2
- 1.6.1-2ubuntu0.1
- 1.6.1-2ubuntu0.2
- 1.6.1-2ubuntu0.3
- 1.6.1-2ubuntu0.4
- 1.6.1-2ubuntu0.5
- 1.6.1-2ubuntu0.6
- 1.6.1-2ubuntu0.8
- 1.6.1-2ubuntu0.9
- 1.6.1-2ubuntu0.10
- 1.6.1-2ubuntu0.11
- 1.6.1-2ubuntu0.12
- 1.6.1-2ubuntu0.13
- 1.6.1-2ubuntu0.14
- 1.6.1-2ubuntu0.15
- 1.6.1-2ubuntu0.16
- 1.6.11-0ubuntu1
- 1.6.11-0ubuntu1.1
- Affected ranges
- ECOSYSTEM: < 1.6.11-0ubuntu1.2
Update to 1.6.11-0ubuntu1.2
python-django Ubuntu:16.04:LTS
- Versions
- 1.7.9-1ubuntu5
- 1.8.5-2ubuntu1
- 1.8.7-1ubuntu1
- 1.8.7-1ubuntu2
- 1.8.7-1ubuntu3
- 1.8.7-1ubuntu4
- 1.8.7-1ubuntu5
- 1.8.7-1ubuntu5.1
- 1.8.7-1ubuntu5.2
- 1.8.7-1ubuntu5.4
- 1.8.7-1ubuntu5.5
- Affected ranges
- ECOSYSTEM: < 1.8.7-1ubuntu5.6
Update to 1.8.7-1ubuntu5.6
Original sources
- https://usn.ubuntu.com/3591-1/
- https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html
- https://www.djangoproject.com/weblog/2018/mar/06/security-releases/
- https://access.redhat.com/errata/RHSA-2018:2927
- http://www.securityfocus.com/bid/103357
- https://access.redhat.com/errata/RHSA-2019:0265
- https://www.debian.org/security/2018/dsa-4161
- https://nvd.nist.gov/vuln/detail/CVE-2018-7537