-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Security upgrade python from 3.14.0rc1-alpine to 3.14.0-alpine #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM python:3.14.0rc1-alpine | ||
| FROM python:3.14.0-alpine | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ✅ Security Enhancement: This upgrade from Python 3.14.0rc1-alpine to 3.14.0-alpine is a positive security improvement. Moving from a release candidate to the stable release ensures you're using a production-ready version with the latest security patches. The change addresses multiple OpenSSL vulnerabilities (CVE-2025-9230, CVE-2025-9231, CVE-2025-9232) that were present in the Alpine base image of the release candidate version. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Best Practice Recommendation: Consider pinning to a more specific version tag for better reproducibility and security. Instead of using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔍 Testing Recommendation: Before merging, verify that Python 3.14.0 stable is fully compatible with your application dependencies. Since this upgrades from a release candidate to stable, there might be subtle behavioral differences. Run your test suite against this new base image to ensure compatibility, especially with packages that have native extensions. |
||
|
|
||
| # Define the working directory. | ||
| # Note: There is no code here; it is pulled from the repository by mounting | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While upgrading to the stable
3.14.0-alpinetag is a good security improvement, for better build reproducibility and to guard against tag mutability, it's a best practice to pin the base image to its immutable digest (a SHA256 hash).This guarantees that you are always using the exact same base image for your builds, preventing unexpected changes or vulnerabilities that could be introduced if the tag is updated upstream.
You can find the digest for the image by running:
docker pull python:3.14.0-alpinedocker images --digests pythonThe
FROMline would then be updated to include the digest, like so:FROM python:3.14.0-alpine@sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx