CVE-2019-12781: Django Incorrect HTTP detection with reverse-proxy connecting via HTTPS
5.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.84432%
CWE
Published
7/3/2019
Updated
9/18/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
Django | pip | >= 2.1, < 2.1.10 | 2.1.10 |
Django | pip | >= 2.2, < 2.2.3 | 2.2.3 |
Django | pip | >= 1.11, < 1.11.22 | 1.11.22 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly references django.http.HttpRequest.scheme's incorrect behavior as the root cause. The scheme property determines the request protocol (HTTP/HTTPS) and influences security redirects. When configured with reverse proxies (SECURE_PROXY_SSL_HEADER), vulnerable versions failed to properly validate client protocol when the proxy-Django connection used HTTPS, leading to cleartext transmission risks. The patched versions corrected how proxy headers are interpreted in this scenario.