---
title: "CVE-2018-20060\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-2018-20060?format=md
keywords: index, follow
---

# CVE-2018-20060

Publication date 11 December 2018

Last updated 18 August 2025

---

Ubuntu priority

**Low**

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

## Cvss 3 Severity Score

**9.8 · Critical**

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

Toggle side navigation

## Description

urllib3 before version 1.23 does not remove the Authorization HTTP header
when following a cross-origin redirect (i.e., a redirect that differs in
host, port, or scheme). This can allow for credentials in the Authorization
header to be exposed to unintended hosts or transmitted in cleartext.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-urllib3 | 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 |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Fixed 1.22-1ubuntu0.18.10.1 |
| 18.04 LTS bionic | Fixed 1.22-1ubuntu0.18.04.1 |
| 16.04 LTS xenial | Fixed 1.13.1-2ubuntu0.16.04.3 |
| 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)
* [Patch details](https://ubuntu.com/security/CVE-2018-20060?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| python-urllib3 | * Upstream:   <https://github.com/urllib3/urllib3/pull/1346> * Upstream:   [3d7f98b](https://github.com/urllib3/urllib3/commit/3d7f98b07b6e6e04c2e89cdf5afb18024a2d804c) * Upstream:   [f99912b](https://github.com/urllib3/urllib3/commit/f99912beeaf230ee3634b938d3ea426ffd1f3e57) * Upstream:   [48dba04](https://github.com/urllib3/urllib3/commit/48dba048081dfcb999afcda715d17147aa15b6ea) * Upstream:   [23e2eb5](https://github.com/urllib3/urllib3/commit/23e2eb56af23db5a1eeb8ad9b51dd99a27c15522) * Upstream:   [5e9c6b9](https://github.com/urllib3/urllib3/commit/5e9c6b9175d66170ef65fc703f2e46788a59ca0c) * Upstream:   [9c9dd6f](https://github.com/urllib3/urllib3/commit/9c9dd6f3014e89bb9c532b641abcf1b24c3896ab) * Upstream:   [6245ddd](https://github.com/urllib3/urllib3/commit/6245ddddb7f80740c5c15e1750e5b9f68c5b2b5f) * Upstream:   [3b5f274](https://github.com/urllib3/urllib3/commit/3b5f27449e153ad05186beca8fbd9b134936fe50) * Upstream:   [1742538](https://github.com/urllib3/urllib3/commit/1742538d57865e61125c6c12a755b5db41636fe7) * Upstream:   [2a42e70](https://github.com/urllib3/urllib3/commit/2a42e70ff077006d5a6da92251ddbb2939303f94) * Upstream:   [e8a727a](https://github.com/urllib3/urllib3/commit/e8a727a0b8389f5f75981858a8bbb319646f4450) * Upstream:   [63948f3](https://github.com/urllib3/urllib3/commit/63948f3a607ed8e7a3ce9ac4e20782359896e27e) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3990-1](https://usn.ubuntu.com/USN-3990-1)
+ urllib3 vulnerabilities
+ 21 May 2019

### Other references

* <https://github.com/urllib3/urllib3/blob/master/CHANGES.rst>
* <https://www.cve.org/CVERecord?id=CVE-2018-20060>
