Advisory

PYSEC-2023-192

Also known as: CVE-2023-43804, GHSA-v845-jxx5-vc9f

Summary

The record has no summary.

Details

urllib3 is a user-friendly HTTP client library for Python. urllib3 doesn't treat the Cookie HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a Cookie header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly. This issue has been patched in urllib3 version 1.26.17 or 2.0.5.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2023-10-04 17:15 UTC
Modified
2023-11-08 04:13 UTC

Affected packages and fixes

urllib3

PyPI · All systems

Affected

  • introduced 2.0.0, fixed 2.0.6, introduced 0, fixed 1.26.17 (ecosystem)

Fixed versions

2.0.6, 1.26.17

Fix

  • Fixed version 2.0.6
    pip install --upgrade urllib3==2.0.6
  • Fixed version 1.26.17
    pip install --upgrade urllib3==1.26.17

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: PyPA Advisory Database · CC BY 4.0

Sources & licences