Security update for python-requests
| Announcement ID: | SUSE-SU-2025:20034-1 |
|---|---|
| Release Date: | 2025-02-03T08:52:32Z |
| Rating: | moderate |
| References: | |
| Cross-References: | |
| CVSS scores: |
|
| Affected Products: |
|
An update that solves one vulnerability can now be installed.
Description:
This update for python-requests fixes the following issues:
- Update to 2.32.2
-
To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing custom HTTPAdapters will need to migrate their code to use this new API. get_connection is considered deprecated in all versions of Requests>=2.32.0.
-
Update to 2.32.1
- Fixed an issue where setting verify=False on the first request from a Session will cause subsequent requests to the same origin to also ignore cert verification, regardless of the value of verify. (bsc#1224788, CVE-2024-35195)
- verify=True now reuses a global SSLContext which should improve request time variance between first and subsequent requests.
- Requests now supports optional use of character detection (chardet or charset_normalizer) when repackaged or vendored. This enables pip and other projects to minimize their vendoring surface area.
- Requests has officially added support for CPython 3.12 and dropped support for CPython 3.7.
- Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build system using hatchling.
Patch Instructions:
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
-
SUSE Linux Micro 6.0
zypper in -t patch SUSE-SLE-Micro-6.0-28=1
Package List:
-
SUSE Linux Micro 6.0 (noarch)
- python311-requests-2.32.2-1.1