[depthfirst-5909] Upgrade multiple packages in uv.lock #2
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.
Overview
Upgrade transitive dependencies: starlette and torch
Upgrade
This PR upgrades transitive dependencies to address security vulnerabilities:
The starlette upgrade required adding a direct dependency constraint (
starlette>=0.47.2) topyproject.toml. The PyTorch upgrade includes a CUDA version update from CUDA 12.4 to CUDA 12.6 for Linux builds.Changes
starlette>=0.47.2to ensure the security fix is enforced across all dependency resolution pathstool.uv.sourcesto use the cu126 index instead of cu124uv.lockwith all transitive dependency changes and new resolution markersWarnings
torch.segment_reduce()is not available. This PR uses CUDA 12.6, which does not have this limitationVulnerabilities Fixed
CVE-2025-54121 / GHSA-2c2j-9gv5-cj73
Starlette denial-of-service vector when parsing large multipart forms
When parsing multi-part forms with large files (greater than the default max spool size), starlette would block the main thread to roll the file over to disk. This blocks the event loop, preventing new connections from being accepted. The vulnerability is fixed in starlette 0.47.2 by checking if additional bytes will cause a rollover before writing synchronously.
CVE-2025-3730 / GHSA-887c-mr87-cxwp
PyTorch improper resource shutdown or release vulnerability
A vulnerability in the
torch.nn.functional.ctc_lossfunction can lead to denial of service through improper resource management. The attack requires local access.CVE-2025-2953 / GHSA-3749-ghw9-m3mg
PyTorch local denial of service in mkldnn_max_pool2d
A vulnerability in the
torch.mkldnn_max_pool2dfunction can lead to local denial of service. The exploit has been publicly disclosed.