[Snyk] Security upgrade setuptools from 40.5.0 to 78.1.1#14
[Snyk] Security upgrade setuptools from 40.5.0 to 78.1.1#14mitchelllisle merged 3 commits intomainfrom
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-9964606
There was a problem hiding this comment.
Pull request overview
This PR upgrades setuptools from version 40.5.0 to 78.1.1 to address security vulnerability SNYK-PYTHON-SETUPTOOLS-9964606. However, the actual change shown in the diff unexpectedly downgrades the certifi package requirement, which may have security implications.
- Addresses a directory traversal vulnerability in setuptools
- Downgrades certifi minimum version requirement from 2024.7.4 to 2023.7.22
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| pre-commit | ||
| setuptools>=78.1.1 # not directly required, pinned by Snyk to avoid a vulnerability | ||
| certifi>=2024.7.4 # not directly required, pinned by Snyk to avoid a vulnerability | ||
| certifi>=2023.7.22 # not directly required, pinned by Snyk to avoid a vulnerability |
There was a problem hiding this comment.
The certifi package is being downgraded from >=2024.7.4 to >=2023.7.22. This downgrade may reintroduce security vulnerabilities that were previously fixed. The PR description mentions this is a security upgrade for setuptools, but this change appears to weaken the security posture by allowing older versions of certifi. Please verify this change is intentional and does not introduce known vulnerabilities.
| certifi>=2023.7.22 # not directly required, pinned by Snyk to avoid a vulnerability | |
| certifi>=2024.7.4 # not directly required, pinned by Snyk to avoid a vulnerability |
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
requirements/dev.txtImportant
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:
🦉 Directory Traversal