Skip to content

[Snyk] Security upgrade tensorflow/tensorflow from 2.11.0-gpu to 2.21.0rc0-gpu#38

Open
nicholas-lockhart wants to merge 1 commit intomainfrom
snyk-fix-d28d46d5d9b56971ae35109768a6503f
Open

[Snyk] Security upgrade tensorflow/tensorflow from 2.11.0-gpu to 2.21.0rc0-gpu#38
nicholas-lockhart wants to merge 1 commit intomainfrom
snyk-fix-d28d46d5d9b56971ae35109768a6503f

Conversation

@nicholas-lockhart
Copy link

@nicholas-lockhart nicholas-lockhart commented Feb 12, 2026

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the dockerfile dependencies of this project.

Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.

Snyk changed the following file(s):

  • finetune/Dockerfile

We recommend upgrading to tensorflow/tensorflow:2.21.0rc0-gpu, as this image has only 128 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity CVE-2023-44487
SNYK-UBUNTU2004-NGHTTP2-5954795
  829  
medium severity CVE-2025-27363
SNYK-UBUNTU2004-FREETYPE-9402627
  729  
medium severity CVE-2025-27363
SNYK-UBUNTU2004-FREETYPE-9402627
  729  
medium severity CVE-2025-27363
SNYK-UBUNTU2004-FREETYPE-9402627
  729  
medium severity Improper Validation of Integrity Check Value
SNYK-UBUNTU2004-LIBSSH-6130560
  621  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Snyk has automatically assigned this pull request, set who gets assigned.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
👩‍💻 Set who automatically gets assigned
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.


Note

Medium Risk
Base image upgrade can introduce TensorFlow/CUDA/OS-level compatibility changes that may affect training/inference behavior or build/runtime stability.

Overview
Updates the finetune Docker base image from tensorflow/tensorflow:2.11.0-gpu to tensorflow/tensorflow:2.21.0rc0-gpu to pick up security fixes in the underlying TensorFlow/OS stack.

Written by Cursor Bugbot for commit 7560f7f. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@@ -1,4 +1,4 @@
FROM tensorflow/tensorflow:2.11.0-gpu
FROM tensorflow/tensorflow:2.21.0rc0-gpu
Copy link

Choose a reason for hiding this comment

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

tensorflow-addons incompatible with TensorFlow 2.21

High Severity

Upgrading the base image to TensorFlow 2.21.0rc0 breaks the pip3 install -U tensorflow-addons step on line 10. tensorflow-addons reached end-of-life in May 2024, with its last release (0.23.0) only supporting up to approximately TensorFlow 2.15. This will cause a Docker build failure or runtime incompatibility since there is no tensorflow-addons version compatible with TF 2.21.

Additional Locations (1)

Fix in Cursor Fix in Web

@@ -1,4 +1,4 @@
FROM tensorflow/tensorflow:2.11.0-gpu
FROM tensorflow/tensorflow:2.21.0rc0-gpu
Copy link

Choose a reason for hiding this comment

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

Using release candidate image in production Dockerfile

Medium Severity

The base image tensorflow/tensorflow:2.21.0rc0-gpu is a release candidate, not a stable release. RC versions may contain unresolved bugs, undergo API changes before the final release, and are not intended for production use. This could lead to unexpected behavior or require another image upgrade soon after.

Fix in Cursor Fix in Web

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.

3 participants