CVE-2019-12781

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-12781
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-12781.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-12781
Aliases
Related
Published
2019-07-01T14:15:10Z
Modified
2024-10-12T04:21:02.316032Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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 SECUREPROXYSSLHEADER and SECURESSL_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.

References

Affected packages

Alpine:v3.10 / py-django

Package

Name
py-django
Purl
pkg:apk/alpine/py-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.22-r0

Affected versions

1.*

1.2.5-r0
1.2.5-r1
1.4.1-r0
1.5-r0
1.5.1-r0
1.5.5-r0
1.5.6-r0
1.5.7-r0
1.5.8-r0
1.6.5-r0
1.6.6-r0
1.7-r0
1.8-r0
1.8.3-r0
1.8.4-r0
1.8.6-r0
1.8.7-r0
1.8.8-r0
1.8.10-r0
1.8.12-r0
1.8.14-r0
1.8.15-r0
1.8.16-r0
1.10.5-r0
1.10.7-r0
1.11-r0
1.11-r1
1.11.5-r0
1.11.9-r0
1.11.10-r0
1.11.11-r0
1.11.12-r0
1.11.13-r0
1.11.15-r0
1.11.18-r0
1.11.20-r0
1.11.20-r1
1.11.21-r0

Alpine:v3.11 / py3-django

Package

Name
py3-django
Purl
pkg:apk/alpine/py3-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.22-r0

Affected versions

1.*

1.2.5-r0
1.2.5-r1
1.4.1-r0
1.5-r0
1.5.1-r0
1.5.5-r0
1.5.6-r0
1.5.7-r0
1.5.8-r0
1.6.5-r0
1.6.6-r0
1.7-r0
1.8-r0
1.8.3-r0
1.8.4-r0
1.8.6-r0
1.8.7-r0
1.8.8-r0
1.8.10-r0
1.8.12-r0
1.8.14-r0
1.8.15-r0
1.8.16-r0
1.10.5-r0
1.10.7-r0
1.11-r0
1.11-r1
1.11.5-r0
1.11.9-r0
1.11.10-r0
1.11.11-r0
1.11.12-r0
1.11.13-r0
1.11.15-r0
1.11.18-r0
1.11.20-r0
1.11.20-r1
1.11.21-r0

Alpine:v3.12 / py3-django

Package

Name
py3-django
Purl
pkg:apk/alpine/py3-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.22-r0

Affected versions

1.*

1.2.5-r0
1.2.5-r1
1.4.1-r0
1.5-r0
1.5.1-r0
1.5.5-r0
1.5.6-r0
1.5.7-r0
1.5.8-r0
1.6.5-r0
1.6.6-r0
1.7-r0
1.8-r0
1.8.3-r0
1.8.4-r0
1.8.6-r0
1.8.7-r0
1.8.8-r0
1.8.10-r0
1.8.12-r0
1.8.14-r0
1.8.15-r0
1.8.16-r0
1.10.5-r0
1.10.7-r0
1.11-r0
1.11-r1
1.11.5-r0
1.11.9-r0
1.11.10-r0
1.11.11-r0
1.11.12-r0
1.11.13-r0
1.11.15-r0
1.11.18-r0
1.11.20-r0
1.11.20-r1
1.11.21-r0

Alpine:v3.7 / py-django

Package

Name
py-django
Purl
pkg:apk/alpine/py-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.22-r0

Affected versions

1.*

1.2.5-r0
1.2.5-r1
1.4.1-r0
1.5-r0
1.5.1-r0
1.5.5-r0
1.5.6-r0
1.5.7-r0
1.5.8-r0
1.6.5-r0
1.6.6-r0
1.7-r0
1.8-r0
1.8.3-r0
1.8.4-r0
1.8.6-r0
1.8.7-r0
1.8.8-r0
1.8.10-r0
1.8.12-r0
1.8.14-r0
1.8.15-r0
1.8.16-r0
1.10.5-r0
1.10.7-r0
1.11-r0
1.11-r1
1.11.5-r0
1.11.11-r0
1.11.15-r0
1.11.18-r0
1.11.20-r0
1.11.21-r0

Alpine:v3.8 / py-django

Package

Name
py-django
Purl
pkg:apk/alpine/py-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.22-r0

Affected versions

1.*

1.2.5-r0
1.2.5-r1
1.4.1-r0
1.5-r0
1.5.1-r0
1.5.5-r0
1.5.6-r0
1.5.7-r0
1.5.8-r0
1.6.5-r0
1.6.6-r0
1.7-r0
1.8-r0
1.8.3-r0
1.8.4-r0
1.8.6-r0
1.8.7-r0
1.8.8-r0
1.8.10-r0
1.8.12-r0
1.8.14-r0
1.8.15-r0
1.8.16-r0
1.10.5-r0
1.10.7-r0
1.11-r0
1.11-r1
1.11.5-r0
1.11.9-r0
1.11.10-r0
1.11.11-r0
1.11.12-r0
1.11.13-r0
1.11.15-r0
1.11.18-r0
1.11.20-r0
1.11.21-r0

Alpine:v3.9 / py-django

Package

Name
py-django
Purl
pkg:apk/alpine/py-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.22-r0

Affected versions

1.*

1.2.5-r0
1.2.5-r1
1.4.1-r0
1.5-r0
1.5.1-r0
1.5.5-r0
1.5.6-r0
1.5.7-r0
1.5.8-r0
1.6.5-r0
1.6.6-r0
1.7-r0
1.8-r0
1.8.3-r0
1.8.4-r0
1.8.6-r0
1.8.7-r0
1.8.8-r0
1.8.10-r0
1.8.12-r0
1.8.14-r0
1.8.15-r0
1.8.16-r0
1.10.5-r0
1.10.7-r0
1.11-r0
1.11-r1
1.11.5-r0
1.11.9-r0
1.11.10-r0
1.11.11-r0
1.11.12-r0
1.11.13-r0
1.11.15-r0
1.11.18-r0
1.11.20-r0
1.11.21-r0

Debian:11 / python-django

Package

Name
python-django
Purl
pkg:deb/debian/python-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.11.22-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / python-django

Package

Name
python-django
Purl
pkg:deb/debian/python-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.11.22-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / python-django

Package

Name
python-django
Purl
pkg:deb/debian/python-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.11.22-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/django/django

Affected ranges

Type
GIT
Repo
https://github.com/django/django
Events

Affected versions

1.*

1.11
1.11.1
1.11.10
1.11.11
1.11.12
1.11.13
1.11.14
1.11.15
1.11.16
1.11.17
1.11.18
1.11.19
1.11.2
1.11.20
1.11.21
1.11.3
1.11.4
1.11.5
1.11.6
1.11.7
1.11.8
1.11.9