---
title: "CVE-2019-12781\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2019-12781?format=md
keywords: index, follow
---

# CVE-2019-12781

Publication date 1 July 2019

Last updated 18 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.3 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2019-12781?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-django | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.04 disco | Fixed 1:1.11.20-1ubuntu0.1 |
| 18.10 cosmic | Fixed 1:1.11.15-1ubuntu1.3 |
| 18.04 LTS bionic | Fixed 1:1.11.11-1ubuntu1.4 |
| 16.04 LTS xenial | Fixed 1.8.7-1ubuntu5.9 |
| 14.04 LTS trusty | Vulnerable |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12781)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-12781)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2019-12781)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2019-12781)

### Related Ubuntu Security Notices (USN)

+ [USN-4043-1](https://usn.ubuntu.com/USN-4043-1)
+ Django vulnerabilities
+ 1 July 2019

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2019-12781>
