Raise Python dependency floors to patched Safety releases - #36
Merged
Conversation
Bump requests, urllib3, aiohttp, pycurl, lxml, and scrapy minimum versions so pip cannot install releases with known CVEs. Cap aiohttp below 4.x to exclude vulnerable 4.0.0a pre-releases. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
proxymesh
marked this pull request as ready for review
September 3, 2026 22:04
proxymesh
approved these changes
Sep 3, 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.
Raise minimum versions in
python/requirements.txtsopip installcannot resolve known-vulnerable releases identified by a Python Safety scan.Floors moved to patched versions older than 7 days:
requests>=2.34.2(was>=2.28.0)urllib3>=2.7.0(was>=2.0.0; CVE-2026-44431 / CVE-2026-44432)aiohttp>=3.14.3,<4(was>=3.9.0; cap excludes vulnerable 4.0.0a pre-releases)pycurl>=7.45.5(was>=7.45.0)lxml>=6.1.0(was>=5.0.0)scrapy>=2.14.2(was>=2.11.0)Safety still reports Scrapy CVE-2017-14158 on all versions
>=0.7(unbounded in-memory downloads); there is no patched release to move to.No new MEDIUM/HIGH/CRITICAL application findings with a complete attack chain were validated in this scan. The previously reported unpinned
shivammathur/setup-php@v2issue is already pinned to a commit SHA.