Skip to content

[Snyk] Security upgrade python from 3.7-alpine to 3.14.0rc2-alpine - #76

Open
wasimakh2 wants to merge 1 commit into
masterfrom
snyk-fix-adcece6a18a918add4b16497383558cb
Open

[Snyk] Security upgrade python from 3.7-alpine to 3.14.0rc2-alpine#76
wasimakh2 wants to merge 1 commit into
masterfrom
snyk-fix-adcece6a18a918add4b16497383558cb

Conversation

@wasimakh2

Copy link
Copy Markdown
Owner

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

  • Dockerfile

We recommend upgrading to python:3.14.0rc2-alpine, as this image has only 0 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 Integer Overflow or Wraparound
SNYK-ALPINE318-EXPAT-7908292
  714  
critical severity Integer Overflow or Wraparound
SNYK-ALPINE318-EXPAT-7908293
  714  
critical severity CVE-2024-37371
SNYK-ALPINE318-KRB5-8366395
  714  
high severity CVE-2023-5363
SNYK-ALPINE318-OPENSSL-6032386
  614  
high severity Access of Resource Using Incompatible Type ('Type Confusion')
SNYK-ALPINE318-OPENSSL-7895535
  614  

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:

🦉 Access of Resource Using Incompatible Type ('Type Confusion')

Copilot AI review requested due to automatic review settings August 22, 2025 05:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This security-focused PR upgrades the Python base Docker image from 3.7-alpine to 3.14.0rc2-alpine to address 5 critical and high severity vulnerabilities in the underlying Alpine packages (expat, krb5, and openssl).

  • Upgrades Python Docker base image from version 3.7 to 3.14.0rc2
  • Addresses multiple CVEs including integer overflow vulnerabilities and type confusion issues
  • Maintains Alpine Linux as the base distribution

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread Dockerfile
FROM python:3.14.0rc2-alpine
RUN apk add --no-cache gcc musl-dev
RUN apk update && apk upgrade && \
apk add git alpine-sdk bash python

Copilot AI Aug 22, 2025

Copy link

Choose a reason for hiding this comment

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

Installing 'python' package via apk may conflict with the Python version from the base image (3.14.0rc2). This could lead to version conflicts or unexpected behavior. Consider removing 'python' from the apk installation since Python is already provided by the base image.

Suggested change
apk add git alpine-sdk bash python
apk add git alpine-sdk bash

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.

3 participants