Skip to content

[Snyk] Security upgrade setuptools from 40.5.0 to 78.1.1#14

Merged
mitchelllisle merged 3 commits intomainfrom
snyk-fix-57c3938b2669118ca8d9790d0e508630
Dec 26, 2025
Merged

[Snyk] Security upgrade setuptools from 40.5.0 to 78.1.1#14
mitchelllisle merged 3 commits intomainfrom
snyk-fix-57c3938b2669118ca8d9790d0e508630

Conversation

@mitchelllisle
Copy link
Owner

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements/dev.txt
⚠️ Warning
flake8 5.0.4 has requirement importlib-metadata<4.3,>=1.1.0; python_version < "3.8", but you have importlib-metadata 6.7.0.

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.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

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

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-9964606
@mitchelllisle mitchelllisle self-assigned this May 7, 2025
Copilot AI review requested due to automatic review settings December 26, 2025 23:55
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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
Copy link

Copilot AI Dec 26, 2025

Choose a reason for hiding this comment

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

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.

Suggested change
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

Copilot uses AI. Check for mistakes.
@mitchelllisle mitchelllisle merged commit 255741d into main Dec 26, 2025
2 checks passed
@mitchelllisle mitchelllisle deleted the snyk-fix-57c3938b2669118ca8d9790d0e508630 branch December 26, 2025 23:58
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