Advisory

UBUNTU-CVE-2023-32681

Also known as: CVE-2023-32681

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N

Dates

Published
2023-05-26 18:15 UTC
Modified
2026-02-04 03:02 UTC

Affected packages and fixes

python-pip

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 20.0.2-5ubuntu1.9 (ecosystem)

Fixed versions

20.0.2-5ubuntu1.9

Fix

  • Fixed version 20.0.2-5ubuntu1.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

requests

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.22.0-2ubuntu1.1 (ecosystem)

Fixed versions

2.22.0-2ubuntu1.1

Fix

  • Fixed version 2.22.0-2ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-pip

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 22.0.2+dfsg-1ubuntu0.7 (ecosystem)

Fixed versions

22.0.2+dfsg-1ubuntu0.7

Fix

  • Fixed version 22.0.2+dfsg-1ubuntu0.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

requests

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.25.1+dfsg-2ubuntu0.1 (ecosystem)

Fixed versions

2.25.1+dfsg-2ubuntu0.1

Fix

  • Fixed version 2.25.1+dfsg-2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences