Severity
- CVSS 3.x
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/django/django ↗ | |
| 6a0dc2176f4ebf907e124d433411e52bba39a28e to before c686dd8e6bb3817bcf04b8f13c025b4d3c3dc6dc | c686dd8e6bb3817bcf04b8f13c025b4d3c3dc6dc |
| c669cf279ae7b3e02a61db4fb077030a4db80e4f to before 1cc5aceac0a73468a6d1a671b9c86423e5bcf011 | 1cc5aceac0a73468a6d1a671b9c86423e5bcf011 |
| 8c85c8692240e5ae4b568eb4272475fe1fa4b059 to before 2d73ffc6f96e399716a1ed3f58acd4e99afa3d33 | 2d73ffc6f96e399716a1ed3f58acd4e99afa3d33 |
| Not specified | 1ca63a66ef3163149ad822701273e8a1844192c2 |
| Not specified | abf89d729f210c692a50e0ad3f75fb6bec6fae16 |
| Not specified | e157315da3ae7005fa0683ffc9751dbeca7306c8 |
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. The django.utils.html.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (only one regular expression for Django 1.8.x). The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulnerable.
References
- Advisorywww.securityfocus.com/bid/103361 ↗
- Advisoryaccess.redhat.com/errata/RHSA-2018:2927 ↗
- Advisoryaccess.redhat.com/errata/RHSA-2019:0051 ↗
- Advisoryaccess.redhat.com/errata/RHSA-2019:0082 ↗
- Advisoryaccess.redhat.com/errata/RHSA-2019:0265 ↗
- Advisorylists.debian.org/debian-lts-announce/2018/03/msg00006.html ↗
- Advisoryusn.ubuntu.com/3591-1/ ↗
- Advisorywww.debian.org/security/2018/dsa-4161 ↗
- Advisorywww.djangoproject.com/weblog/2018/mar/06/security-releases/ ↗
- Fixgithub.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2 ↗
- Fixgithub.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16 ↗
- Fixgithub.com/django/django/commit/e157315da3ae7005fa0683ffc9751dbeca7306c8 ↗