Skip to content

[anaconda]: Security update for python package - bleach - #1983

Open
Venkumahanti Subhankar (V-Subhankar-infy) wants to merge 1 commit into
devcontainers:mainfrom
V-Subhankar-infy:fix-anaconda
Open

[anaconda]: Security update for python package - bleach#1983
Venkumahanti Subhankar (V-Subhankar-infy) wants to merge 1 commit into
devcontainers:mainfrom
V-Subhankar-infy:fix-anaconda

Conversation

@V-Subhankar-infy

@V-Subhankar-infy Venkumahanti Subhankar (V-Subhankar-infy) commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

This PR updates the Anaconda image to address the reported security vulnerability in the Python package bleach.

Changes

  • Adds the patched bleach dependency version to the Anaconda security patch list.
  • Bumps the Anaconda image manifest version to reflect the security fix.
  • Adds a validation check to ensure the patched bleach version is installed in the test project.

Why

The Anaconda image consists of an outdated version of bleach at 4.1.0 and according to (GHSA-gj48-438w-jh9v) this is a security vulnerability, hence we are manually bumping it to 6.4.0

Validation

  • Updated security patch list for bleach
  • Updated image manifest version
  • Added version check in the Anaconda test suite

Key Notes

The readme is intentionally not bumped creating a minor mismatch between readme and manifest; however it is not mentioned anywhere in contribution notes to bump readme and moreover bumping readme that is visible to everyone creates more confusion trying to find a tag that is not yet released.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The README’s pinned image tag must be updated to match manifest version 1.4.3.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the Anaconda image to remediate the bleach vulnerability.

Changes:

  • Installs and validates bleach 6.4.0.
  • Bumps the image patch version to 1.4.3.
File summaries
File Description
src/anaconda/.devcontainer/apply_security_patches.sh Adds the patched dependency.
src/anaconda/manifest.json Bumps the image version.
src/anaconda/test-project/test.sh Verifies the installed version.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/anaconda/manifest.json

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The security patch, version bump, and validation are consistent and complete.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

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.

2 participants