GHSA-68w8-qjq3-2gfm

    Dashboard / Vulnerabilities / GHSA-68w8-qjq3-2gfm

    GHSA-68w8-qjq3-2gfm

    Published: 10 Jun 2021Last Modified: 20 Sept 2024

    Summary: Path Traversal in Django

    Details: Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.

    Affected packages

    Package

    Name: django

    Purl: pkg:pypi/django

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.2.24

    Affected versions

    1.0.1
    1.0.2
    1.0.3
    1.0.4

    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
    GHSA-68w8-qjq3-2gfm | CVE-DB