[SYNPY-1928] Fixed security issues by updating packages - #1466
Merged
Merged
Conversation
BryanFauble
approved these changes
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem:
Pipfile.lock:--promptinactivate.batpyvenv.cfgwithout sanitization (config injection)stream()andread_chunked()keep an unbounded chunk-size line in memoryrsakey.pypermits SHA-1 (GHSA-r374-rxx8-8654, CVE-2026-44405)install_requiresinsetup.cfg). The lower bound wasurllib3>=2.6.3, so users can install a vulnerable version.Pipfile.lockpinned 2.7.0.pre-commit(devextra). It is only in thedevelopsection ofPipfile.lock, so it does not go to users. Only dev machines are affected.pysftpextra (paramiko<4.0.0). The advisory says all versions up to 4.0.0 are affected.Solution:
setup.cfg: changedurllib3>=2.6.3tourllib3>=2.8.0. Users cannot install a vulnerable urllib3 version with the client now.Pipfile.lock: regenerated withpipenv lock --python /usr/bin/python3.12(pipenv 2023.12.1).requires.python_versionis still3.12.6.defaultanddevelop)develop)develop)defaultand 44 indevelop. Most are patch or minor updates (for example, OpenTelemetry 1.44 → 1.45, boto3 1.43.69 → 1.43.107). These packages are new or have a major-version change:develop)develop, docs build)opentelemetry-exporter-http-transportandopentelemetry-exporter-otlp-common(transitive dependencies of OpenTelemetry 1.45)Why paramiko alert #49 is not fixed in this PR
pysftp0.2.9 doesfrom paramiko import AgentKey, RSAKey, DSSKeyat module level. paramiko 4.0.0 removedDSSKey, and 5.0.0 does not have it either. With paramiko 4.x or later,import pysftpfails withImportError, and all SFTP operations fail. This is why theparamiko<4.0.0pin was added (commit05f82df5).pysftpwas last released in 2016 and is not maintained.