-
Notifications
You must be signed in to change notification settings - Fork 0
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.7-alpine to 3.13.0a3-alpine #19
base: master
Are you sure you want to change the base?
Conversation
…ties The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6055795 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6055795 - https://snyk.io/vuln/SNYK-ALPINE318-SQLITE-6179217
Micro-Learning Topic: SQL injection (Detected by phrase)Matched on "SQLI"This is probably one of the two most exploited vulnerabilities in web applications and has led to a number of high profile company breaches. It occurs when an application fails to sanitize or validate input before using it to dynamically construct a statement. An attacker that exploits this vulnerability will be able to gain access to the underlying database and view or modify data without permission. Try a challenge in Secure Code WarriorHelpful references
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Type: Enhancement
PR Summary: The pull request upgrades the Docker base image from Python 3.7-alpine to Python 3.13.0a3-alpine in order to address known vulnerabilities in the older base image.
Decision: Comment
📝 Type: 'Enhancement' - not supported yet.
- Sourcery currently only approves 'Typo fix' PRs.
✅ Issue addressed: this change correctly addresses the issue or implements the desired feature.
No details provided.
✅ Small diff: the diff is small enough to approve with confidence.
No details provided.
General suggestions:
- While upgrading to a newer Python version for security reasons is beneficial, it is important to ensure that the new version does not introduce any breaking changes or instability, especially since the chosen version is an alpha release.
- The PR should verify that all dependencies and the application itself are fully compatible with Python 3.13 to prevent any unexpected issues.
- It may be prudent to consider using a stable release of Python instead of an alpha version to ensure the reliability of the testing environment.
Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨
@@ -1,4 +1,4 @@ | |||
FROM python:3.7-alpine | |||
FROM python:3.13.0a3-alpine | |||
|
|||
ENTRYPOINT pytest --flake8 --junit-xml junit.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (llm): Consider pinning the versions of pytest and flake8 to avoid potential inconsistencies caused by updates to these packages.
This PR was automatically created by Snyk using the credentials of a real user.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR
We recommend upgrading to
python:3.13.0a3-alpine
, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.Some of the most important vulnerabilities in your base image include:
SNYK-ALPINE318-OPENSSL-6032386
SNYK-ALPINE318-OPENSSL-6032386
SNYK-ALPINE318-OPENSSL-6055795
SNYK-ALPINE318-OPENSSL-6055795
SNYK-ALPINE318-SQLITE-6179217
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
🛠 Adjust project settings
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.