Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2023-32681

Published: 26 May 2023

Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use `rebuild_proxies` to reattach the `Proxy-Authorization` header to requests. For HTTP connections sent through the tunnel, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into the tunneled request. This results in Requests forwarding proxy credentials to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate sensitive information. This issue has been patched in version 2.31.0.

Notes

AuthorNote
mdeslaur
On focal and earlier, the python-pip package bundles requests
binaries when built. After updating requests, a no-change
rebuild of python-pip is required.
On jammy and later, requests is bundled in the python-pip
package and needs to be patched.

Priority

Medium

Cvss 3 Severity Score

6.1

Score breakdown

Status

Package Release Status
python-pip
Launchpad, Ubuntu, Debian
bionic Needs triage

focal
Released (20.0.2-5ubuntu1.9)
jammy Needed

kinetic Ignored
(end of life, was needs-triage)
lunar Ignored
(end of life, was needed)
mantic Not vulnerable
(23.2+dfsg-1)
trusty Needs triage

upstream Needs triage

xenial Needs triage

requests
Launchpad, Ubuntu, Debian
bionic
Released (2.18.4-2ubuntu0.1+esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
focal
Released (2.22.0-2ubuntu1.1)
jammy
Released (2.25.1+dfsg-2ubuntu0.1)
kinetic
Released (2.27.1+dfsg-1ubuntu2.1)
lunar
Released (2.28.1+dfsg-1ubuntu1.1)
mantic
Released (2.28.1+dfsg-1ubuntu2)
trusty Needs triage

upstream
Released (2.31.0)
xenial
Released (2.9.1-3ubuntu0.1+esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
Patches:
upstream: https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5

Severity score breakdown

Parameter Value
Base score 6.1
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Scope Changed
Confidentiality High
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N