-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Fix for 3 vulnerabilities #94
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -104,3 +104,5 @@ googleapis-common-protos==1.63.2 | |
|
|
||
| ## LDAP | ||
| ldap3==2.9.1 | ||
| fonttools>=4.61.0 # not directly required, pinned by Snyk to avoid a vulnerability | ||
| urllib3>=2.6.0 # not directly required, pinned by Snyk to avoid a vulnerability | ||
|
Comment on lines
+107
to
+108
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This project uses To ensure consistency and simplify dependency management, I recommend the following:
This will prevent potential bugs caused by different dependency versions in different environments. |
||
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.
The versions suggested for
fonttoolsandurllib3appear to be incorrect and will likely cause the build to fail as they don't seem to exist on PyPI.fonttools, version>=4.61.0is suggested, but the latest version on PyPI appears to be4.53.1.urllib3, version>=2.6.0is suggested, but the latest version on PyPI is2.2.2. The vulnerabilities mentioned (SNYK-PYTHON-URLLIB3-14192442,SNYK-PYTHON-URLLIB3-14192443) are fixed in versions>=1.26.18for the 1.x series and>=2.2.1for the 2.x series.Please investigate and pin to the correct, existing versions that resolve the vulnerabilities. For
urllib3,urllib3>=2.2.2would be a safe choice.For better build reproducibility in your Docker environment, which installs from this file directly, consider pinning to an exact version with
==once the correct versions are identified, for exampleurllib3==2.2.2.