Skip to content

[Snyk] Security upgrade python from 3.9 to 3.13.12#6

Open
ashmuck wants to merge 1 commit intomasterfrom
snyk-fix-d39f69f413dcd80e56d4c4fdecabd9d6
Open

[Snyk] Security upgrade python from 3.9 to 3.13.12#6
ashmuck wants to merge 1 commit intomasterfrom
snyk-fix-d39f69f413dcd80e56d4c4fdecabd9d6

Conversation

@ashmuck
Copy link

@ashmuck ashmuck commented Mar 6, 2026

snyk-top-banner

Snyk has created this PR to fix 2 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.12, as this image has only 260 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
critical severity Heap-based Buffer Overflow
SNYK-DEBIAN13-IMAGEMAGICK-15044354
  714  
critical severity Heap-based Buffer Overflow
SNYK-DEBIAN13-IMAGEMAGICK-15044354
  714  
critical severity Heap-based Buffer Overflow
SNYK-DEBIAN13-IMAGEMAGICK-15044354
  714  
critical severity Release of Invalid Pointer or Reference
SNYK-DEBIAN13-IMAGEMAGICK-15044366
  714  
critical severity Release of Invalid Pointer or Reference
SNYK-DEBIAN13-IMAGEMAGICK-15044366
  714  

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:

🦉 Heap-based Buffer Overflow


Note

Medium Risk
Low scope change, but it upgrades the container’s Python runtime from 3.9 to 3.13 which can break dependencies or scripts executed in GitHub Actions.

Overview
Updates the GitHub Actions Dockerfile base image from python:3.9 to python:3.13.12 to pick up newer OS/Python security fixes and reduce known vulnerabilities. No other build steps or action behavior are changed.

Written by Cursor Bugbot for commit cce42d3. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@@ -1,5 +1,5 @@
# This Dockerfile is only for GitHub Actions
FROM python:3.9
FROM python:3.13.12
Copy link

Choose a reason for hiding this comment

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

Python 3.13 upgrade breaks pinned dependency compatibility

High Severity

Upgrading from python:3.9 to python:3.13.12 jumps four major versions while setup.py pins dependencies to old ranges only tested through Python 3.9. Notably, invoke>=1.4.1,<2 (used via from invoke import run in dist.py and pre_commit.py) has known inspect.getargspec removal issues on Python 3.11+, and twine>=3,<4 relies on distutils which was removed in Python 3.12. These pinned constraints prevent installing newer compatible versions, risking build or runtime failures.

Fix in Cursor Fix in Web

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