-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency requests to v2.32.2 [SECURITY] #96
base: main
Are you sure you want to change the base?
Conversation
DryRun Security SummaryThis GitHub pull request updates the versions of dependencies, including the Expand for full summarySummary: The changes in this GitHub pull request are focused on updating the versions of dependencies used in the Python-based application. The key changes are:
From an application security perspective, these changes are generally positive as they help keep the application's dependencies up-to-date. Regularly updating dependencies is an important security practice as it helps address known vulnerabilities and ensures the application is running on the latest stable versions of the required libraries. While the changes do not immediately raise any security concerns, it is recommended to review the release notes for the new version of the Files Changed:
Code AnalysisWe ran
Riskiness🟢 Risk threshold not exceeded. |
@@ -5,7 +5,7 @@ | |||
description= 'Tool for automating Vulnerability Risk Management and Software Supply Chain Security Measures', | |||
version='0.0.1', | |||
py_modules=['scsctl'], | |||
install_requires=['click==8.1.3', 'clickhouse-driver==0.2.6', 'numpy==1.25.0', 'requests==2.31.0','questionary==1.10.0','tabulate==0.9.0'], | |||
install_requires=['click==8.1.3', 'clickhouse-driver==0.2.6', 'numpy==1.25.0', 'requests==2.32.2','questionary==1.10.0','tabulate==0.9.0'], |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Line too long (143/100) Warning
@@ -5,7 +5,7 @@ | |||
description= 'Tool for automating Vulnerability Risk Management and Software Supply Chain Security Measures', | |||
version='0.0.1', | |||
py_modules=['scsctl'], | |||
install_requires=['click==8.1.3', 'clickhouse-driver==0.2.6', 'numpy==1.25.0', 'requests==2.31.0','questionary==1.10.0','tabulate==0.9.0'], | |||
install_requires=['click==8.1.3', 'clickhouse-driver==0.2.6', 'numpy==1.25.0', 'requests==2.32.2','questionary==1.10.0','tabulate==0.9.0'], |
Check warning
Code scanning / Pylint (reported by Codacy)
Exactly one space required after comma Warning
@@ -5,7 +5,7 @@ | |||
description= 'Tool for automating Vulnerability Risk Management and Software Supply Chain Security Measures', | |||
version='0.0.1', | |||
py_modules=['scsctl'], | |||
install_requires=['click==8.1.3', 'clickhouse-driver==0.2.6', 'numpy==1.25.0', 'requests==2.31.0','questionary==1.10.0','tabulate==0.9.0'], | |||
install_requires=['click==8.1.3', 'clickhouse-driver==0.2.6', 'numpy==1.25.0', 'requests==2.32.2','questionary==1.10.0','tabulate==0.9.0'], |
Check warning
Code scanning / Pylint (reported by Codacy)
Line too long (143/100) Warning
f108e6c
to
c0d3e50
Compare
This PR contains the following updates:
==2.31.0
->==2.32.2
GitHub Vulnerability Alerts
CVE-2024-35195
When making requests through a Requests
Session
, if the first request is made withverify=False
to disable cert verification, all subsequent requests to the same origin will continue to ignore cert verification regardless of changes to the value ofverify
. This behavior will continue for the lifecycle of the connection in the connection pool.Remediation
Any of these options can be used to remediate the current issue, we highly recommend upgrading as the preferred mitigation.
requests>=2.32.0
.requests<2.32.0
, avoid settingverify=False
for the first request to a host while using a Requests Session.requests<2.32.0
, callclose()
onSession
objects to clear existing connections ifverify=False
is used.Related Links
Release Notes
psf/requests (requests)
v2.32.2
Compare Source
Deprecations
To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed
_get_connection
toa new public API,
get_connection_with_tls_context
. Existing customHTTPAdapters will need to migrate their code to use this new API.
get_connection
is considered deprecated in all versions of Requests>=2.32.0.A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
v2.32.1
Compare Source
Bugfixes
v2.32.0
Compare Source
Security
verify=False
on the first request from aSession will cause subsequent requests to the same origin to also ignore
cert verification, regardless of the value of
verify
.(GHSA-9wx4-h78v-vm56)
Improvements
verify=True
now reuses a global SSLContext which should improverequest time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a Python
version built with OpenSSL 3.x. (#6667)
(
chardet
orcharset_normalizer
) when repackaged or vendored.This enables
pip
and other projects to minimize their vendoringsurface area. The
Response.text()
andapparent_encoding
APIswill default to
utf-8
if neither library is present. (#6702)Bugfixes
calculated in the request content-length. (#6589)
/
(path separator) could leadurllib3 to unnecessarily reparse the request URI. (#6644)
Deprecations
Documentation
Packaging
The source files for the projects (formerly
requests
) is now locatedin
src/requests
in the Requests sdist. (#6506)using
hatchling
. This should not impact the average user, but extremely oldversions of packaging utilities may have issues with the new packaging format.
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.