Security mailing lists by PureSourceCode

CVE-2019-12781

MEDIUM 5.3CVSS 3.0

Django Incorrect HTTP detection with reverse-proxy connecting via HTTPS

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.

Published
1 Jul 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-319
Also known as
GHSA-6c7v-2f49-8h26PYSEC-2019-10
Sources
NVDJSONOSV GHSA-6c7v-2f49-8h26JSONOSV PYSEC-2019-10JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub 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
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 1.11, < 1.11.22 1.11.22
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 2.1, < 2.1.10 2.1.10
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 2.2, < 2.2.3 2.2.3
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
= 18.10
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
= 19.04
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
OSV PyPI django >= 2.1, < 2.1.10 2.1.10
OSV PyPI django >= 2.2, < 2.2.3 2.2.3
OSV PyPI django >= 1.11, < 1.11.22 1.11.22
OSV PyPI django >= 2.1, < 2.1.10; >= 2.2, < 2.2.3; >= 1.11, < 1.11.22 2.1.10, 2.2.3, 1.11.22

References

History

  • 25 Nov 2026 20:22 UTC · NVD: first stored (published 1 Jul 2019)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jul 2019)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Jul 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.