ci: Address setuptools CVE - #1438
Merged
Merged
Conversation
Signed-off-by: Dong Hyuk Chang <donghyukc@nvidia.com>
Signed-off-by: Dong Hyuk Chang <donghyukc@nvidia.com>
Contributor
Greptile OverviewGreptile SummaryThis PR addresses multiple CVE vulnerabilities by updating package version constraints in the dependency management configuration. Key Changes:
The changes properly enforce minimum versions through Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant UV as UV Package Manager
participant PyPI as PyPI Registry
participant Docker as Docker Build
participant Cache as UV Cache
Note over Dev,Cache: CVE Mitigation Process
Dev->>UV: Update pyproject.toml with CVE constraints
Note right of Dev: setuptools>=80.10.1<br/>wheel>=0.46.2<br/>pyasn1>=0.6.2
Dev->>UV: Run uv lock update
UV->>PyPI: Resolve dependencies with constraints
PyPI-->>UV: Return setuptools 80.10.2, wheel 0.46.3
UV->>UV: Update uv.lock with new versions
Dev->>Docker: Build Docker image
Docker->>UV: uv sync --locked --extra all
UV->>Cache: Install packages to /opt/uv_cache
Note right of UV: Installs setuptools 80.10.2<br/>wheel 0.46.3 (CVE-free)
Docker->>UV: uv cache prune
Docker->>UV: uv cache clean distance
Docker->>Cache: Remove stale aiohttp from ray thirdparty
Note right of Docker: find /opt/uv_cache/ -type d<br/>-path "*ray/.../aiohttp*"<br/>-exec rm -rf {} +
Note over Dev,Cache: CVE GHSA-58pv-8j8x-9vj2 Addressed
|
Signed-off-by: Dong Hyuk Chang <donghyukc@nvidia.com>
ko3n1g
approved these changes
Jan 28, 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.
Description
Usage
# Add snippet demonstrating usageChecklist