PYSEC-2018-5

    Dashboard / Vulnerabilities / PYSEC-2018-5

    PYSEC-2018-5

    Published: 9 Mar 2018Last Modified: 8 Nov 2023

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: django

    Purl: pkg:pypi/django

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 1.8
    Fixed -1.8.19

    Affected 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

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High