Skip to content

Comments

[Snyk] Security upgrade python from 3.9-slim to 3.14.3-slim#61

Open
pratham-aggr wants to merge 1 commit intomainfrom
snyk-fix-2821ba0af0d4653484984fdcf0043f5f
Open

[Snyk] Security upgrade python from 3.9-slim to 3.14.3-slim#61
pratham-aggr wants to merge 1 commit intomainfrom
snyk-fix-2821ba0af0d4653484984fdcf0043f5f

Conversation

@pratham-aggr
Copy link
Owner

@pratham-aggr pratham-aggr commented Feb 7, 2026

snyk-top-banner

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

  • backend-api/Dockerfile

We recommend upgrading to python:3.14.3-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-2025-69421
SNYK-DEBIAN13-OPENSSL-15123186
  686  
low severity CVE-2025-15467
SNYK-DEBIAN13-OPENSSL-15123178
  436  
low severity CVE-2025-66199
SNYK-DEBIAN13-OPENSSL-15123183
  436  
low severity CVE-2026-22796
SNYK-DEBIAN13-OPENSSL-15123187
  436  
low severity CVE-2025-68160
SNYK-DEBIAN13-OPENSSL-15123204
  436  

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.


Note

Medium Risk
Base image upgrade changes the Python runtime/OS packages and may surface dependency or compatibility issues at build or runtime despite being a small diff.

Overview
Updates the backend-api container base image from python:3.9-slim to python:3.14.3-slim to pick up upstream security fixes (per Snyk) with no other Docker build/runtime changes.

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

@vercel
Copy link

vercel bot commented Feb 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
quantflow Error Error Feb 7, 2026 3:16am

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.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on March 17

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@@ -1,5 +1,5 @@
# Python backend Dockerfile
FROM python:3.9-slim
FROM python:3.14.3-slim
Copy link

Choose a reason for hiding this comment

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

Python 3.14 upgrade breaks pinned dependency compatibility

High Severity

The base image upgrade from python:3.9-slim to python:3.14.3-slim creates an incompatibility with the pinned dependencies in requirements.txt. Packages like numpy==1.24.3 (supports Python 3.8-3.11 only), scipy==1.11.1, pandas==2.1.1, and scikit-learn==1.3.0 were released before Python 3.14 existed and do not support it. The Docker build will fail during pip install -r requirements.txt because these exact versions have no compatible wheels for Python 3.14, and source builds will also fail due to unsupported Python version constraints.

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