GHSA-6c7v-2f49-8h26

    Dashboard / Vulnerabilities / GHSA-6c7v-2f49-8h26

    GHSA-6c7v-2f49-8h26

    Published: 3 Jul 2019Last Modified: 18 Sept 2024

    Summary: Django Incorrect HTTP detection with reverse-proxy connecting via HTTPS

    Details: An issue was discovered in Django 1.11 before 1.11.22, 2.1 before 2.1.10, and 2.2 before 2.2.3. An HTTP request is not redirected to HTTPS when the SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings are used, and the proxy connects to Django via HTTPS. In other words, django.http.HttpRequest.scheme has incorrect behavior when a client uses HTTP.

    Affected packages

    Package

    Name: django

    Purl: pkg:pypi/django

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.1
    Fixed -2.1.10

    Affected versions

    2.1
    2.1.1
    2.1.2
    2.1.3
    2.1.4
    2.1.5
    2.1.7
    2.1.8
    2.1.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