Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade python from 3.10.7-alpine to 3.14.0a2-alpine #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gitafolabi
Copy link
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):

  • dbt/Dockerfile

We recommend upgrading to python:3.14.0a2-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
high severity Out-of-bounds Read
SNYK-ALPINE316-E2FSPROGS-3339843
  614  
high severity Use After Free
SNYK-ALPINE316-EXPAT-3062883
  614  
high severity Resource Exhaustion
SNYK-ALPINE316-EXPAT-6241145
  614  
high severity Integer Overflow or Wraparound
SNYK-ALPINE316-KRB5-3136432
  614  
high severity Out-of-Bounds
SNYK-ALPINE316-SQLITE-6179509
  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:

🦉 Use After Free
🦉 Resource Exhaustion

Copy link

DryRun Security Summary

The provided code change upgrades the base Docker image for the dbt project from python:3.10.7-alpine to python:3.14.0a2-alpine, which can improve the security of the project by including security fixes and improvements in the newer Python version, and the Dockerfile also sets several environment variables and uses Poetry to manage the project's dependencies, which are positive security practices.

Expand for full summary

Summary:

The provided code change is related to the Dockerfile for the dbt (Data Build Tool) project. The key change is the upgrade of the base Docker image from python:3.10.7-alpine to python:3.14.0a2-alpine, indicating an upgrade to the Python version used in the Docker container.

From an application security perspective, this change is generally positive, as upgrading the Python version can include security fixes and improvements. The use of the Alpine Linux-based Python image is also a good security practice, as it helps minimize the attack surface and potential vulnerabilities in the base image. The Dockerfile also sets several environment variables and uses Poetry, a popular Python dependency management tool, to install the project's dependencies, which are additional security-enhancing practices. However, it's important to thoroughly test the changes and ensure that the upgraded Python version and dependencies do not introduce any new vulnerabilities or compatibility issues.

Files Changed:

  • dbt/Dockerfile: The Dockerfile has been updated to use a newer version of the Python base image, upgrading from python:3.10.7-alpine to python:3.14.0a2-alpine. This change is likely to improve the security of the dbt project by including security fixes and improvements in the newer Python version. The Dockerfile also sets several environment variables and uses Poetry to manage the project's dependencies, which are positive security practices.

Code Analysis

We ran 9 analyzers against 1 file and 1 analyzer had findings. 8 analyzers had no findings.

Analyzer Findings
Sensitive Files Analyzer 1 finding

View PR in the DryRun Dashboard.

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