14
0

- Add CVE-2024-47081.patch upstream patch, fixes netrc credential leak

(gh#psf/requests#6965, CVE-2024-47081, bsc#1244039)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=193
This commit is contained in:
2025-06-05 07:23:50 +00:00
committed by Git OBS Bridge
parent e7eb405fea
commit 0b0d20b53d
3 changed files with 37 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-requests
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,8 @@ URL: https://docs.python-requests.org/
Source: https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#psf/requests#6731
Patch0: inject-default-ca-bundles.patch
# PATCH-FIX-UPSTREAM CVE-2024-47081.patch gh#psf/requests#6965, bsc#1244039
Patch1: CVE-2024-47081.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}