Repository navigation
[OMPE-106305] Update container security dependencies - #7811
kellyguo11 merged 1 commit into
Conversation
|
run-ci |
|
There was a problem hiding this comment.
Isaac Lab Review Bot
The PR centralizes a checksum-verified Git LFS 3.8.0 installation for both container images, updates the GitPython, Pillow, and PyArrow dependency selections with a matching lockfile refresh, and integrates the installer and regression tests into cache invalidation and kit-less CI.
- Design and architecture: The shared Git LFS installer follows the repository’s existing container-script pattern and is included in the dependency-cache identity. Both Dockerfiles consistently replace the distro package with the same verified upstream executable, while the Python dependency floors remain centralized in the root manifest.
- API: No public Python symbols or CLI interfaces change. The externally visible changes are the container-provided Git LFS version and installation path, plus updated Python dependency constraints; the manifest, generated wheel metadata path, and lockfile are consistent for the reviewed selections.
- Implementation: The installer gates supported architectures and verifies both archives before package removal or filesystem installation. Both images provide wget, execute the script as root before switching users, and configure Git LFS system-wide. The focused tests cover dependency metadata propagation, lock selections, both Dockerfile integrations, cache invalidation, supported architectures, checksum failure, and fresh-image behavior.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
## Summary Ports the focused security updates from internal MR7 onto develop. - Updates GitPython, Pillow, and PyArrow security selections and refreshes the lockfile. - Installs a checksum-verified Git LFS 3.8.0 executable in both container images. - Adds offline regression coverage for dependency pins and the Git LFS installer. - Includes the IsaacLab changelog fragment. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport Backport of #7811 ## Validation - Nine security dependency tests pass. - pyproject.toml and uv.lock parse successfully. - Git LFS installer passes bash syntax validation. - Focused pre-commit hooks pass. ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks - [x] I have made corresponding changelog changes - [x] My changes generate no new warnings - [x] I have added tests that prove the fix is effective - [x] I have added a changelog fragment for the touched package - [x] My name already exists in CONTRIBUTORS.md Co-authored-by: Sheikh Dawood <[email protected]>
## Summary Isaac Lab's base, cuRobo, and kit-less container images stop shipping Git LFS. That clears the three `golang.org/x/crypto` scanner findings in nvbug 6782864 instead of waiting on an upstream Git LFS release. `git` stays installed. # Description `docker/scripts/install_git_lfs.sh` (added in #7811) installed the upstream Git LFS 3.8.0 binary. That binary embeds a Go module manifest, so scanners read `golang.org/x/crypto v0.54.0` out of it and raise GO-2026-6303 / 6354 / 6355. No Git LFS release carries the fixed `x/crypto v0.56.0` yet. - The installer is deleted, along with its references in all three Dockerfiles, the dependency-hash inputs, and the kit-less workflow path filter. - Each image build now fails if `git-lfs` is on `PATH`. This catches a copy inherited from the Isaac Sim base image, which the deleted installer used to purge. It replaces the old Dockerfile-text test. - The images keep `git`, but CI's checkout is made with `lfs: true` and requires the LFS filter, so any `git` call on that bind-mounted tree would fail. `run_tests.sh` and `multi_gpu_host_launcher.sh` mount a tmpfs over `/workspace/isaaclab/.git`, matching the images, where `.dockerignore` already drops `.git`. The benchmark job does not mount the checkout, so its revision data is unchanged. ### Breaking change Git LFS operations inside the containers no longer work. Install Git LFS in a derived image if you need it. This is captured in the changelog fragment. ### Validation | Check | Result | | --- | --- | | `Dockerfile.kitless` built from this branch | built; `git` 2.43.0 present, `git-lfs` absent | | `Dockerfile.base` built on public `isaac-sim:6.1.0` | `git-lfs` check step passes | | check run in `isaac-lab:latest-develop` and develop's kit-less image | fails, finds `/usr/local/bin/git-lfs` | | check run in plain Ubuntu 24.04 | passes | | `docker/test` | 40 passed, 4 skipped; 2 `test_docker_profiles` cases stop at an interactive X11 prompt on the dev box | `Dockerfile.curobo` was not built locally; CI is its first build with this change. ## Type of change - Breaking change (existing functionality will not work without user modification) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/develop/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Summary
Ports the focused security updates from internal MR7 onto develop.
Type of change
Release backport
A matching release/3.0.0 PR is being opened directly because both security branches were explicitly requested.
Validation
Checklist