CVE-2019-12781
python-django - security update
5.3
MEDIUM
CVSS 3.1
EPSS 4.2%
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.
How to fix CVE-2019-12781
To remediate CVE-2019-12781, upgrade the affected package to a fixed version below.
- —upgrade to 1.11.22-r0 or later
- —upgrade to 1.11.22-r0 or later
- —upgrade to 1:1.11.22-1 or later
- —upgrade to 1.7.11-1+deb8u6 or later
- —upgrade to 2.1.10 or later
- —upgrade to 2.1.10 or later
Is CVE-2019-12781 being exploited?
Low — EPSS is 4.2%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 1.11.22-r0
- from 0, < 1.11.22-r0
- from 0, < 1:1.11.22-1
- from 0, < 1.7.11-1+deb8u6
- >= 2.1, < 2.1.10
- >= 2.1, < 2.1.10, >= 2.2, < 2.2.3, >= 1.11, < 1.11.22
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |