Skip to content

[Snyk] Security upgrade python from 3.7-slim to 3.14.3-slim#140

Open
AErmie wants to merge 1 commit intomainfrom
snyk-fix-cf2580a239adb917421df435cccc1d91
Open

[Snyk] Security upgrade python from 3.7-slim to 3.14.3-slim#140
AErmie wants to merge 1 commit intomainfrom
snyk-fix-cf2580a239adb917421df435cccc1d91

Conversation

@AErmie
Copy link
Owner

@AErmie AErmie commented Feb 10, 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):

  • Infrastructure-Source-Code/terraform/aws/resources/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
high severity Out-of-bounds Write
SNYK-DEBIAN12-GLIBC-5927132
  823  
high severity Out-of-bounds Write
SNYK-DEBIAN12-GLIBC-5927132
  823  
high severity Out-of-bounds Write
SNYK-DEBIAN12-GLIBC-6210098
  324  
high severity Out-of-bounds Write
SNYK-DEBIAN12-GLIBC-6210098
  324  
high severity Allocation of Resources Without Limits or Throttling
SNYK-DEBIAN12-SYSTEMD-6277507
  295  

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
🦉 Allocation of Resources Without Limits or Throttling

Copilot AI review requested due to automatic review settings February 10, 2026 09:53
@github-actions
Copy link

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Manifest Files

Copy link

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 Terraform-managed Docker build context to use a newer Python slim base image to reduce known OS/package vulnerabilities in the resulting container pushed to ECR.

Changes:

  • Update Docker base image from python:3.7-slim to python:3.14.3-slim.

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

@@ -1 +1 @@
FROM python:3.7-slim
FROM python:3.14.3-slim
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

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

This bumps the base image from Python 3.7 to 3.14.3 in one step, which is a major runtime jump and can break dependency compatibility and/or downstream consumers of this ECR image. If the project doesn’t explicitly support 3.14 yet, consider upgrading to a known-supported Python version first (or doing incremental upgrades), and ensure CI builds/tests (or at least a docker build) run against the new base image before merging.

Copilot uses AI. Check for mistakes.
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