Skip to content

Conversation

@sireeshajonnalagadda
Copy link
Contributor

@sireeshajonnalagadda sireeshajonnalagadda commented Jan 16, 2026

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

@sireeshajonnalagadda sireeshajonnalagadda changed the title [anaconda]-critical and High security vulnerabilities [anaconda]-Fix for vulnerability issue CVE-2024-52338 and CVE-2025-6176 Jan 19, 2026
@sireeshajonnalagadda sireeshajonnalagadda marked this pull request as ready for review January 19, 2026 06:51
@sireeshajonnalagadda sireeshajonnalagadda requested a review from a team as a code owner January 19, 2026 06:51
Copilot AI review requested due to automatic review settings January 19, 2026 06:51
Copy link
Contributor

Copilot AI left a 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" )
Copy link

Copilot AI Jan 19, 2026

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.

Suggested change
"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" )

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant