Skip to content
OpenAdvisories
Critical · 9.8 CVE-2018-20060 EUVD-2018-0144GHSA-www2-v7xj-xrc6PYSEC-2018-32

Exposure of Sensitive Information to an Unauthorized Actor in urllib3

Published Dec 11, 2018 · Updated Dec 27, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-urllib3 1.24-1 —
Debian 13 python-urllib3 1.24-1 —
Debian 12 python-urllib3 1.24-1 —
Debian 9 python-urllib3 1.19.1-1+deb9u1 DLA-2686-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS python-urllib3 1.22-1ubuntu0.18.04.1 USN-3990-1
Ubuntu 16.04 LTS python-urllib3 1.13.1-2ubuntu0.16.04.3 USN-3990-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS python-urllib3 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 Cython +1 0.28.1-7.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 PyYAML +1 3.12-16.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 babel +1 2.5.1-9.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 numpy +3 1:1.14.2-13.module+el8.1.0+3323+7ac3e00f RHSA-2020:1605
RHEL 8 pytest +1 3.4.2-13.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-PyMySQL +1 0.8.0-10.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-attrs +1 17.4.0-10.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-backports +1 1.0-15.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-backports-ssl_match_hostname +1 3.5.0.1-11.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-chardet +1 3.0.4-10.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-coverage +1 4.5.1-4.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-dns +1 1.15.0-10.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-docs +2 2.7.16-2.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-docutils +1 0.14-12.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-funcsigs +1 1.0.2-13.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-idna +1 2.5-7.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-ipaddress +1 1.0.18-6.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-jinja2 +1 2.10-8.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-lxml +1 4.2.3-3.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-markupsafe +1 0.23-19.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-mock +1 2.0.0-13.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-nose +2 1.3.7-30.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-pip +3 9.0.3-16.el8 RHSA-2020:1916
RHEL 8 python-pluggy +1 0.6.0-8.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-psycopg2 +4 2.7.5-7.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-py +1 1.5.3-6.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-pygments +1 2.2.0-20.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-pysocks +1 1.6.8-6.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-pytest-mock +1 1.9.0-4.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-requests +1 2.20.0-3.module+el8.2.0+4577+feefd9b8 RHSA-2020:1605
RHEL 8 python-setuptools_scm +1 1.15.7-6.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-six +1 1.11.0-5.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-sqlalchemy +2 1.3.2-1.module+el8.1.0+2994+98e054d6 RHSA-2020:1605
RHEL 8 python-urllib3 +1 1.24.2-1.module+el8.1.0+3280+19512f10 RHSA-2020:1605
RHEL 8 python-virtualenv +1 15.1.0-19.module+el8.1.0+3507+d69c168d RHSA-2020:1605
RHEL 8 python-wheel +2 1:0.31.1-2.module+el8.1.0+3725+aac5cd17 RHSA-2020:1605
RHEL 8 python2 +6 2.7.17-1.module+el8.2.0+4561+f4e0d66a RHSA-2020:1605
RHEL 8 python2-bson +3 3.6.1-11.module+el8.1.0+3446+c3d52da3 RHSA-2020:1605
RHEL 8 python2-pip +1 9.0.3-16.module+el8.2.0+5478+b505947e RHSA-2020:1605
RHEL 8 python2-rpm-macros 3-38.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python2-setuptools +1 39.0.1-11.module+el8.1.0+3446+c3d52da3 RHSA-2020:1605
RHEL 8 pytz +1 2017.2-12.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 scipy +1 1.0.0-20.module+el8.1.0+3323+7ac3e00f RHSA-2020:1605
RHEL 7 python-pip +1 9.0.3-7.el7_7 RHSA-2020:2068, RHSA-2020:0850
RHEL 7 python-urllib3 1.10.2-7.el7 RHSA-2019:2272
RHEL 7 python-virtualenv 15.1.0-4.el7_7 RHSA-2020:2081, RHSA-2020:0851

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 python2-Cython 0.28.1-7.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-PyMySQL 0.8.0-10.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-attrs 17.4.0-10.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-chardet 3.0.4-10.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-coverage 4.5.1-4.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-dns 1.15.0-10.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-docs +1 2.7.16-2.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-docutils 0.14-12.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-funcsigs 1.0.2-13.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-idna 2.5-7.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-ipaddress 1.0.18-6.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-markupsafe 0.23-19.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-mock 2.0.0-13.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pluggy 0.6.0-8.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-psycopg2 +3 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-py 1.5.3-6.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pysocks 1.6.8-6.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pytest 3.4.2-13.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pytest-mock 1.9.0-4.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pytz 2017.2-12.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pyyaml 3.12-16.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-requests 2.20.0-3.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-rpm-macros 3-38.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-setuptools_scm 1.15.7-6.module_el8.6.0+2781+fed64c13 ALSA-2020:1605

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 Cython 0.28.1-7.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 PyYAML 3.12-16.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 babel 2.5.1-9.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 pytest 3.4.2-13.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-PyMySQL 0.8.0-10.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-attrs 17.4.0-10.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-chardet 3.0.4-10.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-coverage 4.5.1-4.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-dns 1.15.0-10.el8 RLSA-2020:1605
Rocky Linux 8 python-docs 2.7.16-2.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-docutils 0.14-12.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-funcsigs 1.0.2-13.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-idna 2.5-7.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-ipaddress 1.0.18-6.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-jinja2 2.10-8.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-lxml 4.2.3-3.el8 RLSA-2020:1605
Rocky Linux 8 python-markupsafe 0.23-19.el8 RLSA-2020:1605
Rocky Linux 8 python-mock 2.0.0-13.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-nose 1.3.7-30.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-pluggy 0.6.0-8.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-psycopg2 2.7.5-7.el8 RLSA-2020:1605
Rocky Linux 8 python-py 1.5.3-6.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-pygments 2.2.0-20.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-pymongo 3.6.1-11.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-pysocks 1.6.8-6.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-pytest-mock 1.9.0-4.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-requests 2.20.0-3.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-setuptools_scm 1.15.7-6.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-virtualenv 15.1.0-19.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-wheel 1:0.31.1-2.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python2-rpm-macros 3-38.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 pytz 2017.2-12.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 scipy 1.0.0-20.module+el8.3.0+120+426d8baf RLSA-2020:1605
ReleasePackageFixed inAdvisory
SLES 15 python-urllib3 1.22-6.4.1 SUSE-SU-2019:2331-1
SLES 12 python-urllib3 1.22-3.14.1 SUSE-SU-2019:2370-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud Crowbar 8 python-urllib3 1.22-5.6.1 SUSE-SU-2019:2300-1
SUSE OpenStack Cloud 8 python-urllib3 1.22-5.6.1 SUSE-SU-2019:2300-1
SUSE OpenStack Cloud 7 python-urllib3 1.16-3.6.1 SUSE-SU-2019:2399-1
SUSE Manager Server 3.2 python-urllib3 1.22-3.14.1 SUSE-SU-2019:2370-1
SUSE HPE Helion OpenStack 8 python-urllib3 1.22-5.6.1 SUSE-SU-2019:2300-1
SUSE Enterprise Storage 5 python-urllib3 1.22-3.14.1 SUSE-SU-2019:2370-1
SUSE Enterprise Storage 4 python-urllib3 1.22-3.14.1 SUSE-SU-2019:2370-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-kubernetes 28.1.0-4.3 openSUSE-SU-2026:12013-1, openSUSE-SU-2024:14144-1
openSUSE Tumbleweed python-urllib3 1.26.6-1.2 openSUSE-SU-2026:12044-1, openSUSE-SU-2024:14055-1, openSUSE-SU-2024:11277-1
openSUSE Tumbleweed python-urllib3_1 1.26.20-7.2 openSUSE-SU-2026:12045-1
openSUSE Leap 15.0 python-urllib3 1.22-lp150.5.3.1 openSUSE-SU-2019:2131-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 python-urllib3 1.24.3-1.amzn2.0.1 ALAS2-2019-1211
Amazon Linux 2 python-virtualenv 15.1.0-4.amzn2 ALAS2-2020-1413

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 babel +1 2.5.1-9.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2 +6 2.7.17-1.0.1.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-Cython 0.28.1-7.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-PyMySQL 0.8.0-10.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-attrs 17.4.0-10.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-backports 1.0-15.0.1.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-backports-ssl_match_hostname 3.5.0.1-11.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-bson +2 3.6.1-11.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-chardet 3.0.4-10.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-coverage 4.5.1-4.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-dns 1.15.0-10.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-docs +1 2.7.16-2.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-docutils 0.14-12.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-funcsigs 1.0.2-13.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-idna 2.5-7.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-ipaddress 1.0.18-6.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-jinja2 2.10-8.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-lxml 4.2.3-3.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-markupsafe 0.23-19.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-mock 2.0.0-13.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-nose +1 1.3.7-30.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-numpy +2 1:1.14.2-13.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-pip +1 9.0.3-16.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-pluggy 0.6.0-8.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-psycopg2 +3 2.7.5-7.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-py 1.5.3-6.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-pygments 2.2.0-20.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-pysocks 1.6.8-6.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-pytest 3.4.2-13.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-pytest-mock 1.9.0-4.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-pytz 2017.2-12.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-pyyaml 3.12-16.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-requests 2.20.0-3.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-rpm-macros 3-38.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-scipy 1.0.0-20.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-setuptools +1 39.0.1-11.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-setuptools_scm 1.15.7-6.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-six 1.11.0-5.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-sqlalchemy +1 1.3.2-1.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-urllib3 1.24.2-1.0.2.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-virtualenv 15.1.0-19.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python2-wheel +1 1:0.31.1-2.module+el8.2.0+5577+bb63ba72 ELSA-2020-1605
Oracle Linux 8 python3-pip +2 9.0.3-16.el8 ELSA-2020-1916
Oracle Linux 7 python-urllib3 1.10.2-7.el7 ELSA-2019-2272
Oracle Linux 7 python-virtualenv 15.1.0-4.el7_7 ELSA-2020-2081, ELSA-2020-0851
Oracle Linux 7 python3-pip 9.0.3-7.el7_7 ELSA-2020-2068, ELSA-2020-0850

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI urllib3 < 1.23 1.23 GHSA-www2-v7xj-xrc6

Advisories 33

References