CVE-2019-12781
Last modified
CVE-2019-12781 is a vulnerability of currently unknown severity. 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. EPSS estimates a 1.70% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 1.11, < 1.11.22 |
| Djangoproject | Django | >= 2.1, < 2.1.10 |
| Djangoproject | Django | >= 2.2, < 2.2.3 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Canonical | Ubuntu Linux | 19.04 |
| Debian | Debian Linux | 9.0 |
References
- http://www.openwall.com/lists/oss-security/2019/07/01/3Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/109018Third Party Advisory
- https://docs.djangoproject.com/en/dev/releases/security/Patch, Vendor Advisory
- https://seclists.org/bugtraq/2019/Jul/10Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190705-0002/Third Party Advisory
- https://usn.ubuntu.com/4043-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4476Third Party Advisory
- https://www.djangoproject.com/weblog/2019/jul/01/security-releases/Patch, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2019/07/01/3Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/109018Third Party Advisory
- https://docs.djangoproject.com/en/dev/releases/security/Patch, Vendor Advisory
- https://seclists.org/bugtraq/2019/Jul/10Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190705-0002/Third Party Advisory
- https://usn.ubuntu.com/4043-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4476Third Party Advisory
- https://www.djangoproject.com/weblog/2019/jul/01/security-releases/Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-12781?
How severe is CVE-2019-12781?
How do I fix CVE-2019-12781?
Are you affected by CVE-2019-12781?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
