Skip to content

[Snyk] Security upgrade python from 3.13.0rc2-slim to 3.13.5-slim #30

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weibullguy
Copy link
Owner

@weibullguy weibullguy commented Jun 15, 2025

snyk-top-banner

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

  • Dockerfile

We recommend upgrading to python:3.13.5-slim, as this image has only 36 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
high severity Out-of-Bounds
SNYK-DEBIAN12-SQLITE3-6139924
  614  
medium severity Race Condition
SNYK-DEBIAN12-SYSTEMD-10264074
  586  
medium severity Race Condition
SNYK-DEBIAN12-SYSTEMD-10264074
  586  
medium severity Algorithmic Complexity
SNYK-DEBIAN12-GNUTLS28-8705121
  514  
medium severity Algorithmic Complexity
SNYK-DEBIAN12-LIBTASN16-8689970
  514  

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Summary by Sourcery

Bug Fixes:

  • Upgrade Docker base image from python:3.13.0rc2-slim to python:3.13.5-slim to fix multiple known vulnerabilities in SQLite3, systemd, GnuTLS, and libtasn1

Copy link

sourcery-ai bot commented Jun 15, 2025

Reviewer's Guide

Upgraded the Docker base image from python:3.13.0rc2-slim to python:3.13.5-slim to apply security patches for multiple Debian package vulnerabilities.

Sequence Diagram: Snyk Automated Base Image Update Process

sequenceDiagram
    participant Snyk
    participant GitHubRepo as "GitHub Repository"
    actor Developer
    participant CICD as "CI/CD Pipeline"
    participant DockerRegistry as "Docker Registry"
    participant Deployment

    Snyk->>GitHubRepo: Scans Dockerfile
    activate Snyk
    GitHubRepo-->>Snyk: Reports vulnerability in python:3.13.0rc2-slim
    deactivate Snyk
    Snyk->>GitHubRepo: Creates PR (update Dockerfile to use python:3.13.5-slim)
    Developer->>GitHubRepo: Reviews & Merges PR
    GitHubRepo->>CICD: Triggers build
    activate CICD
    CICD->>DockerRegistry: Pulls python:3.13.5-slim
    CICD->>CICD: Builds Application Image with new base
    CICD->>Deployment: Deploys updated Application Image
    deactivate CICD
Loading

File-Level Changes

Change Details Files
Bump Python slim image version
  • Replaced python:3.13.0rc2-slim with python:3.13.5-slim in the FROM directive
Dockerfile

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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.

2 participants