Skip to content

[Snyk] Security upgrade python from 3.9 to 3.14.3#16

Open
trongthanht3 wants to merge 1 commit intomainfrom
snyk-fix-b408e66633a9677ffc7924f04c797133
Open

[Snyk] Security upgrade python from 3.9 to 3.14.3#16
trongthanht3 wants to merge 1 commit intomainfrom
snyk-fix-b408e66633a9677ffc7924f04c797133

Conversation

@trongthanht3
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 2 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):

  • docker/backend.dockerfile

We recommend upgrading to python:3.14.3, as this image has only 221 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
critical severity Heap-based Buffer Overflow
SNYK-DEBIAN13-IMAGEMAGICK-15044354
  714  
critical severity Heap-based Buffer Overflow
SNYK-DEBIAN13-IMAGEMAGICK-15044354
  714  
critical severity Heap-based Buffer Overflow
SNYK-DEBIAN13-IMAGEMAGICK-15044354
  714  
critical severity Release of Invalid Pointer or Reference
SNYK-DEBIAN13-IMAGEMAGICK-15044366
  714  
critical severity Release of Invalid Pointer or Reference
SNYK-DEBIAN13-IMAGEMAGICK-15044366
  714  

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.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Heap-based Buffer Overflow

Copilot AI review requested due to automatic review settings February 11, 2026 15:01
Copy link
Copy Markdown

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 updates the backend Docker image base to a newer Python version to reduce vulnerabilities flagged by Snyk.

Changes:

  • Bump docker/backend.dockerfile base image from python:3.9 to python:3.14.3.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.14.3
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

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

backend.dockerfile is being bumped to Python 3.14.3 while docker/celeryworker.dockerfile still builds from Python 3.10 and both images install the same Poetry project from /src. This increases the risk of runtime differences (dependency wheels/ABI, behavior changes) between backend and worker. Consider aligning both Dockerfiles to the same Python minor/patch level (or document why they intentionally differ) to avoid hard-to-debug inconsistencies.

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.

3 participants