CVE-2018-7536
MEDIUM5.3EPSS 1.4%python-django - security update
發布日:2019/1/4修改日:2026/4/28
描述
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.
受影響套件(7)
- Alpine/py3-djangofrom 0, < 1.11.11-r0
- Alpine/py-djangofrom 0, < 1.11.11-r0
- Debian/python-djangofrom 0, < 1.7.11-1+deb8u3
- Debian/python-djangofrom 0, < 1.4.22-1+deb7u4
- Debian/python-djangofrom 0, < 1:1.11.11-1
- PyPI/django>= 2.0a1, < 2.0.3
- PyPI/django>= 1.8, < 1.8.19, >= 1.11, < 1.11.11, >= 2.0, < 2.0.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
參考連結(21)
- ADVISORYhttps://github.com/advisories/GHSA-r28v-mw67-m5p9
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-7536
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2018-7536
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-7536
- ADVISORYhttps://www.djangoproject.com/weblog/2018/mar/06/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttps://access.redhat.com/errata/RHSA-2018:2927
- WEBhttps://access.redhat.com/errata/RHSA-2019:0051
- WEBhttps://access.redhat.com/errata/RHSA-2019:0082
- WEBhttps://access.redhat.com/errata/RHSA-2019:0265
- WEBhttps://github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2
- WEBhttps://github.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16
- WEBhttps://github.com/django/django/commit/e157315da3ae7005fa0683ffc9751dbeca7306c8
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-5.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2018/03/msg00006.html
- WEBhttps://usn.ubuntu.com/3591-1
- WEBhttps://usn.ubuntu.com/3591-1/
- WEBhttps://web.archive.org/web/20200227131019/http://www.securityfocus.com/bid/103361
- WEBhttps://www.debian.org/security/2018/dsa-4161
- WEBhttps://www.djangoproject.com/weblog/2018/mar/06/security-releases
- WEBhttp://www.securityfocus.com/bid/103361