[Snyk] Security upgrade python from 3.10.18-slim-trixie to 3.14.3-slim-trixie#66
Open
[Snyk] Security upgrade python from 3.10.18-slim-trixie to 3.14.3-slim-trixie#66
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-15123158 - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-15123158 - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-15123166 - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-15123166 - https://snyk.io/vuln/SNYK-DEBIAN13-OPENSSL-15123178
There was a problem hiding this comment.
Pull request overview
Updates the container base image to a newer Python slim (Debian trixie) tag to remediate reported OpenSSL-related vulnerabilities in the Docker image dependency chain.
Changes:
- Bump Docker
BASE_IMAGEfrompython:3.10.18-slim-trixietopython:3.14.3-slim-trixie.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # syntax=docker/dockerfile:1 | ||
|
|
||
| ARG BASE_IMAGE=python:3.10.18-slim-trixie | ||
| ARG BASE_IMAGE=python:3.14.3-slim-trixie |
There was a problem hiding this comment.
This bumps the runtime Python from 3.10 to 3.14, but the repo tooling still targets 3.10 (e.g., .github/workflows/publish-docs.yml uses python-version: "3.10" and .pre-commit-config.yaml sets python3.10). If the project is intended to run on 3.14, consider aligning those pins (or explicitly documenting why they differ) to avoid CI/dev-tooling drift and untested runtime differences.
Suggested change
| ARG BASE_IMAGE=python:3.14.3-slim-trixie | |
| ARG BASE_IMAGE=python:3.10-slim-trixie |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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):
DockerfileWe recommend upgrading to
python:3.14.3-slim-trixie, as this image has only 26 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:
SNYK-DEBIAN13-OPENSSL-15123158
SNYK-DEBIAN13-OPENSSL-15123158
SNYK-DEBIAN13-OPENSSL-15123166
SNYK-DEBIAN13-OPENSSL-15123166
SNYK-DEBIAN13-OPENSSL-15123178
Important
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.