Feed
5.3MEDIUM
CVE-2018-7536Django denial-of-service possibility in urlize and urlizetrunc template filters
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 4.6% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 4.6%
- percentile 92%
- Fix
- Named by a source
- CVE published 9 Mar 2018
Reference
None of the "Needs attention" rules apply right now.
EPSS 4.6% (+5) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 2.0.3 / 1.11.11 / 1.8.19 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2
- Commit / pull request: https://github.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16
- Commit / pull request: https://github.com/django/django/commit/e157315da3ae7005fa0683ffc9751dbeca7306c8
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 2.0a1, < 2.0.3Fixed in2.0.3OSV (GHSA-r28v-mw67-m5p9)
- Affected>= 1.11a1, < 1.11.11Fixed in1.11.11OSV (GHSA-r28v-mw67-m5p9)
- Affected>= 1.8a1, < 1.8.19Fixed in1.8.19OSV (GHSA-r28v-mw67-m5p9)
- Affected>= 1.8, < 1.8.19Fixed in1.8.19OSV (PYSEC-2018-5)
- Affected>= 1.11, < 1.11.11Fixed in1.11.11OSV (PYSEC-2018-5)
- Affected>= 2.0, < 2.0.3Fixed in2.0.3OSV (PYSEC-2018-5)
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.0)
- Score from
- GitHub Advisory Database (GHSA-r28v-mw67-m5p9)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-185
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2018-7536
- commit / pull requesthttps://github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2
- commit / pull requesthttps://github.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16
- commit / pull requesthttps://github.com/django/django/commit/e157315da3ae7005fa0683ffc9751dbeca7306c8
- advisoryhttps://access.redhat.com/errata/RHSA-2018:2927
- advisoryhttps://access.redhat.com/errata/RHSA-2019:0051
- advisoryhttps://access.redhat.com/errata/RHSA-2019:0082
- advisoryhttps://access.redhat.com/errata/RHSA-2019:0265
- advisoryhttps://github.com/advisories/GHSA-r28v-mw67-m5p9
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-5.yaml
- otherhttps://lists.debian.org/debian-lts-announce/2018/03/msg00006.html
- otherhttps://usn.ubuntu.com/3591-1
- otherhttps://web.archive.org/web/20200227131019/http://www.securityfocus.com/bid/103361
- advisoryhttps://www.debian.org/security/2018/dsa-4161
- otherhttps://www.djangoproject.com/weblog/2018/mar/06/security-releases
- otherhttps://www.djangoproject.com/weblog/2018/mar/06/security-releases/
- otherhttp://www.securityfocus.com/bid/103361
- otherhttps://usn.ubuntu.com/3591-1/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-r28v-mw67-m5p9 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2018-5 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 19 min ago · osv 19 min ago · nvd 19 min ago · epss 19 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-r28v-mw67-m5p9, PYSEC-2018-5