Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

[Snyk] Security upgrade python from 3.14.0-slim to 3.14.2-slim#78

Open
Zochory wants to merge 1 commit intomainfrom
snyk-fix-8d3b78a7654a21369fdfd1b8397a916e
Open

[Snyk] Security upgrade python from 3.14.0-slim to 3.14.2-slim#78
Zochory wants to merge 1 commit intomainfrom
snyk-fix-8d3b78a7654a21369fdfd1b8397a916e

Conversation

@Zochory
Copy link
Member

@Zochory Zochory commented Feb 4, 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):

  • app/Dockerfile

We recommend upgrading to python:3.14.2-slim, 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:

Issue Score
low severity CVE-2005-2541
SNYK-DEBIAN13-TAR-5696683
  186  
low severity Out-of-Bounds
SNYK-DEBIAN13-GLIBC-5681241
  182  
low severity Out-of-Bounds
SNYK-DEBIAN13-GLIBC-5681241
  182  
low severity CVE-2019-1010023
SNYK-DEBIAN13-GLIBC-5681177
  152  
low severity CVE-2019-1010023
SNYK-DEBIAN13-GLIBC-5681177
  152  

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:

🦉 Out-of-Bounds

Copilot AI review requested due to automatic review settings February 4, 2026 08:03
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @Zochory, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request, automatically generated by Snyk, focuses on improving the application's security by updating its Docker base image. The change aims to resolve several critical vulnerabilities present in the older Python image, ensuring a more secure and robust deployment environment.

Highlights

  • Docker Base Image Upgrade: The app/Dockerfile has been updated to use the python:3.14.2-slim base image, moving from the previous python:3.14.0-slim version.
  • Security Vulnerability Resolution: This upgrade addresses 3 identified vulnerabilities, including CVE-2005-2541 and Out-of-Bounds issues in GLIBC, significantly reducing the known vulnerabilities in the base image.
Changelog
  • app/Dockerfile
    • Updated the base image from python:3.14.0-slim to python:3.14.2-slim.
Activity
  • This pull request was automatically created by Snyk to propose a security upgrade based on detected vulnerabilities.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request, automatically generated by Snyk, aims to upgrade the base Docker image from python:3.14.0-slim to python:3.14.2-slim to address security vulnerabilities. However, the target version 3.14.2 is not a valid Python version, which will cause the Docker build to fail. My review includes a critical comment to correct the base image tag to a valid and recent Python version, such as python:3.12-slim.

@@ -1,4 +1,4 @@
FROM python:3.14.0-slim
FROM python:3.14.2-slim
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

The Python version 3.14.2 specified in the base image tag does not exist. Python 3.14 has not been released, making python:3.14.2-slim an invalid image tag. This will cause the Docker build to fail with an error like 'manifest not found'. Please use a valid tag for a recent, stable Python version. Based on your project's dependencies, python:3.12-slim would be a suitable replacement.

FROM python:3.12-slim

Copy link
Contributor

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

Updates the Docker base image version to address Snyk-reported vulnerabilities in the container dependencies.

Changes:

  • Bump python Docker base image from 3.14.0-slim to 3.14.2-slim.

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

@@ -1,4 +1,4 @@
FROM python:3.14.0-slim
FROM python:3.14.2-slim
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

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

The Docker base image is being updated to Python 3.14.2, but the repo declares/supports Python 3.11 (e.g., .python-version is 3.11.5, pyproject.toml constrains python = "^3.11.2,<3.13", and README lists Python 3.11). This mismatch can lead to dependency/runtime incompatibilities in the container. Consider switching the base image to a supported version (e.g., python:3.11-slim or python:3.12-slim) or, if Python 3.14 is intentional, update the repo’s declared Python version constraints/docs accordingly and ensure CI covers it.

Suggested change
FROM python:3.14.2-slim
FROM python:3.11-slim

Copilot uses AI. Check for mistakes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants