CVE-2019-12781

UnknownEPSS 1.70%

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

EPSS Probability
1.70%

74.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
DjangoprojectDjango>= 1.11, < 1.11.22
DjangoprojectDjango>= 2.1, < 2.1.10
DjangoprojectDjango>= 2.2, < 2.2.3
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux18.10
CanonicalUbuntu Linux19.04
DebianDebian Linux9.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-12781?
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.
How severe is CVE-2019-12781?
Severity scoring for CVE-2019-12781 is pending analysis. The EPSS model estimates a 1.70% probability of exploitation in the next 30 days.
How do I fix CVE-2019-12781?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-12781?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST