-
Notifications
You must be signed in to change notification settings - Fork 884
[anaconda]-Fix for vulnerability issue CVE-2024-52338 and CVE-2025-6176 #1742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[anaconda]-Fix for vulnerability issue CVE-2024-52338 and CVE-2025-6176 #1742
Conversation
… the required version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR addresses security vulnerabilities CVE-2024-52338 and CVE-2025-6176 in the Anaconda devcontainer image by updating vulnerable packages pyarrow and brotli to fixed versions. The manifest version is bumped from 1.3.8 to 1.3.9 following semantic versioning for security patches.
Changes:
- Updated pyarrow from version 14.0.1 to 17.0.0 to address security vulnerabilities
- Added brotli version 1.2.0 to the list of patched packages
- Removed protobuf from the pinned versions list due to compatibility issues (version 5.29.5 incompatible with other packages; now using 6.33.0)
- Bumped image version from 1.3.8 to 1.3.9 (patch increment for security fix)
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/anaconda/manifest.json | Version bump from 1.3.8 to 1.3.9 for security patch release |
| src/anaconda/.devcontainer/apply_security_patches.sh | Added pyarrow 17.0.0 and brotli 1.2.0 to vulnerable packages list; removed protobuf from pin_to_required_version array |
| src/anaconda/test-project/test.sh | Updated tests to verify pyarrow 17.0.0 and added brotli 1.2.0 version checks for both Python and Conda packages |
|
|
||
| vulnerable_packages=( "mistune=3.0.1" "aiohttp=3.10.11" "cryptography=44.0.1" "h11=0.16.0" "jinja2=3.1.6" "jupyter_core=5.8.1" "protobuf=5.29.5" "requests=2.32.4" "setuptools=78.1.1" "transformers=4.53.0" "urllib3=2.5.0" "Werkzeug=3.0.6" "jupyter-lsp=2.2.2" "scrapy=2.11.2" \ | ||
| "zipp=3.19.1" "tornado=6.4.2" "jupyterlab=4.4.8" "imagecodecs=2024.9.22" "fonttools=4.60.2") | ||
| "zipp=3.19.1" "tornado=6.4.2" "jupyterlab=4.4.8" "fonttools=4.60.2" "imagecodecs=2024.9.22" "pyarrow=17.0.0" "brotli=1.2.0" ) |
Copilot
AI
Jan 19, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The order of packages in the vulnerable_packages array has been changed unnecessarily - fonttools and imagecodecs have swapped positions. While this doesn't affect functionality, it's better to maintain the existing order and simply append the new packages (pyarrow and brotli) at the end. This makes the diff cleaner and easier to review.
| "zipp=3.19.1" "tornado=6.4.2" "jupyterlab=4.4.8" "fonttools=4.60.2" "imagecodecs=2024.9.22" "pyarrow=17.0.0" "brotli=1.2.0" ) | |
| "zipp=3.19.1" "tornado=6.4.2" "jupyterlab=4.4.8" "imagecodecs=2024.9.22" "fonttools=4.60.2" "pyarrow=17.0.0" "brotli=1.2.0" ) |
Devcontainer Image
Anaconda
Description of changes
This PR fixes the vulnerabilities mentioned here CVE-2024-52338 and CVE-2025-6176
Fixing vulnerable packages pyarrow and brotli
Changelog :
Updated tests to have pyarrow and brotli packages are in the required fixed versions.
For protobuf package the pinned version 5.29.5 is incompatible with other existing packages in base anaconda image ref. So removed it from the pinned versions, now the latest version is 6.33.0
Version bump.
Checklist:
Checked that applied changes work as expected