[Snyk] Security upgrade python from 3.13.5-slim to 3.14.0-slim#77
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-SQLITE3-10753055 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-PERL-5489190 - https://snyk.io/vuln/SNYK-DEBIAN12-TAR-1560620 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-1547196
There was a problem hiding this comment.
Pull Request Overview
This is a security upgrade PR that updates the Python base Docker image from version 3.13.5-slim to 3.14.0-slim to address 5 security vulnerabilities identified by Snyk, including 2 critical severity issues.
- Updates Python Docker base image to fix known vulnerabilities
- Addresses critical CVEs in SQLite3 and zlib components
- Reduces total known vulnerabilities from current count to 22
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
| @@ -1,4 +1,4 @@ | |||
| FROM python:3.13.5-slim | |||
| FROM python:3.14.0-slim | |||
There was a problem hiding this comment.
Avoid upgrading container to unsupported Python 3.14
The base image now pulls python:3.14.0-slim, but the project explicitly constrains its runtime to <3.13 in pyproject.toml. Building this image will now run the app on an untested Python release that upstream tooling currently refuses to install (Poetry/pip resolve will fail once the full dependency set is used) and any binary dependencies in app/requirements.txt may not yet ship wheels for 3.14. Unless the project’s declared compatibility range and dependencies are updated in tandem, this Docker build is likely to break as soon as it tries to install the project or its packages.
Useful? React with 👍 / 👎.
Snyk has created this PR to fix 5 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):
app/DockerfileWe recommend upgrading to
python:3.14.0-slim, as this image has only 22 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-DEBIAN12-SQLITE3-10753055
SNYK-DEBIAN12-ZLIB-6008963
SNYK-DEBIAN12-PERL-5489190
SNYK-DEBIAN12-TAR-1560620
SNYK-DEBIAN12-GLIBC-1547196
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
📜 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.