Debian DLA-2686-1 : python-urllib3 security update

critical Nessus Plugin ID 150806

Synopsis

The remote Debian host is missing a security update.

Description

Several vulnerabilities were discovered in python-urllib3, a HTTP client for Python.

CVE-2018-20060

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

CVE-2019-11236

CRLF injection is possible if the attacker controls the request parameter.

CVE-2019-11324

Urllib3 mishandles certain cases where the desired set of CA certificates is different from the OS store of CA certificates, which results in SSL connections succeeding in situations where a verification failure is the correct outcome. This is related to use of the ssl_context, ca_certs, or ca_certs_dir argument.

CVE-2020-26137

Urllib3 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest().

For Debian 9 stretch, these problems have been fixed in version 1.19.1-1+deb9u1.

We recommend that you upgrade your python-urllib3 packages.

For the detailed security status of python-urllib3 please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/python-urllib3

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected python-urllib3, and python3-urllib3 packages.

See Also

https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html

https://packages.debian.org/source/stretch/python-urllib3

http://www.nessus.org/u?eb907009

Plugin Details

Severity: Critical

ID: 150806

File Name: debian_DLA-2686.nasl

Version: 1.10

Type: local

Agent: unix

Published: 6/16/2021

Updated: 1/16/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2020-26137

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2018-20060

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python-urllib3, p-cpe:/a:debian:debian_linux:python3-urllib3, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/15/2021

Vulnerability Publication Date: 12/11/2018

Reference Information

CVE: CVE-2018-20060, CVE-2019-11236, CVE-2019-11324, CVE-2020-26137