Skip to content

[Snyk] Security upgrade python from 3.9.15 to 3.13.12#444

Open
ashmuck wants to merge 1 commit intomasterfrom
snyk-fix-8fa1fbff26b4162a1e3710b2f81d9de9
Open

[Snyk] Security upgrade python from 3.9.15 to 3.13.12#444
ashmuck wants to merge 1 commit intomasterfrom
snyk-fix-8fa1fbff26b4162a1e3710b2f81d9de9

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):

  • readme_docs/Dockerfile

We recommend upgrading to python:3.13.12, as this image has only 261 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 Write
SNYK-DEBIAN11-GLIBC-5927133
  829  
high severity Out-of-bounds Write
SNYK-DEBIAN11-GLIBC-5927133
  829  
high severity Out-of-bounds Write
SNYK-DEBIAN11-GLIBC-5927133
  829  
high severity Out-of-bounds Write
SNYK-DEBIAN11-GLIBC-5927133
  829  
high severity Out-of-bounds Write
SNYK-DEBIAN11-LIBWEBP-5893094
  829  

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 Write


Note

Medium Risk
Updates the Docker base image across a major Python version jump, which can introduce runtime or dependency incompatibilities even though the change is confined to the docs container.

Overview
Upgrades readme_docs/Dockerfile base image from python:3.9.15 to python:3.13.12 to pick up upstream security fixes in the image.

Written by Cursor Bugbot for commit dd5d468. 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,4 +1,4 @@
FROM python:3.9.15
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.

apt python3-sphinx installs for wrong Python version

Low Severity

With the base image change from python:3.9.15 (Debian Bullseye, system Python 3.9) to python:3.13.12 (Debian Bookworm, system Python 3.11), the apt-get install python3-sphinx now installs Sphinx for system Python 3.11 rather than the container's primary Python 3.13. This makes the apt-installed Sphinx package effectively useless — project packages from uv sync are installed for Python 3.13, so the apt-installed sphinx-build (using Python 3.11) cannot access them. The build_docs.sh script works around this by pip-installing sphinx extensions (which pulls in Sphinx for Python 3.13), but the apt package now adds unnecessary bloat and a potentially confusing second Python installation.

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