Skip to content

[Snyk] Fix for 5 vulnerabilities - #554

Open
Robthreefold wants to merge 1 commit into
mainfrom
snyk-fix-2774dac308c9c0180b4f393ebe3a8589
Open

Robthreefold wants to merge 1 commit into
mainfrom
snyk-fix-2774dac308c9c0180b4f393ebe3a8589

Conversation

@Robthreefold

Copy link
Copy Markdown
Owner

snyk-top-banner

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

Snyk changed the following file(s):

  • requirements2.txt
⚠️ Warning
equests 2.23.0 requires urllib3, which is not installed.
PyGithub 1.51 requires pyjwt, which is not installed.

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


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:

🦉 Allocation of Resources Without Limits or Throttling

@Robthreefold

Copy link
Copy Markdown
Owner Author

Merge Risk: High

This update includes two major version upgrades with significant breaking changes, primarily in PyJWT and urllib3.

Top 3 Most Impactful Upgrades

  • pyjwt 1.7.1 → 2.14.0 (HIGH): This major upgrade introduces critical breaking changes for security and maintainability. Direct action is required.
  • urllib3 1.25.9 → 2.6.3 (MEDIUM): This major upgrade changes environment requirements and security defaults. Verification is needed.
  • certifi 2020.4.5.1 → 2023.7.22 (LOW): This is a routine update of the certificate authority bundle.

Upgrade Details

pyjwt 1.7.1 → 2.14.0

This is a high-risk upgrade. The jump from v1 to v2 of PyJWT requires code modifications to comply with a stricter and more secure API.

Breaking Changes:

  • Mandatory Algorithm Specification: The jwt.decode() function now requires the algorithms parameter to be explicitly set. Previously, this was optional, which could lead to security vulnerabilities. All calls to jwt.decode() must be updated to include an algorithms list (e.g., algorithms=["HS256"]).
  • Python & Crypto Backend Support: Support for Python 2.7, 3.5, and older crypto backends like PyCrypto and ecdsa has been dropped. The library now relies exclusively on the cryptography package.
  • Deprecated Options Removed: Several deprecated parameters and options from the v1 API have been removed, such as verify_expiration and require_* options in jwt.decode().

Recommendation:
Action required: All calls to jwt.decode() must be audited and updated to include the algorithms parameter. Failure to do so will cause your application to break.

Source: PyJWT Changelog

urllib3 1.25.9 → 2.6.3

This is a medium-risk upgrade due to significant changes in supported environments and default security configurations.

Breaking Changes:

  • Python Version Requirement: urllib3 v2.x requires Python 3.10 or newer. Support for older versions, including 2.7 and 3.5-3.9, has been dropped.
  • TLS Version Default: The default minimum TLS version has been increased to 1.2. This enhances security but may break connections to legacy servers that do not support TLS 1.2.
  • OpenSSL Requirement: Support for OpenSSL versions older than 1.1.1 has been removed.
  • Certificate Verification: Hostname verification no longer falls back to the commonName field in certificates and relies solely on subjectAltName (SAN).

Recommendation:
Verification: Confirm that your production environment runs on Python 3.10+ and that your services do not need to connect to servers requiring TLS 1.1 or older. Test connectivity to all external endpoints after upgrading.

Source: urllib3 v2.0 Migration Guide

certifi 2020.4.5.1 → 2023.7.22

This is a low-risk update. The certifi package provides Mozilla's collection of root certificates for verifying SSL certificates. Version updates consist of additions and removals to this certificate bundle and do not contain code-level breaking changes.

Source: Package documentation

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@Robthreefold

Robthreefold commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner Author

⚠️ Snyk checks are incomplete.

Status Scan Engine Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details
⚠️ Licenses 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@Robthreefold

Robthreefold commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner Author

⚠️ Snyk checks are incomplete.

Status Scan Engine Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details
⚠️ Licenses 0 0 0 0 See details
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@Robthreefold

Robthreefold commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner Author

⚠️ Snyk checks are incomplete.

Status Scan Engine Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details
⚠️ Licenses 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@Robthreefold

Robthreefold commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner Author

⚠️ Snyk checks are incomplete.

Status Scan Engine Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details
⚠️ Licenses 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@Robthreefold

Robthreefold commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner Author

⚠️ Snyk checks are incomplete.

Status Scan Engine Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details
⚠️ Licenses 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@Robthreefold

Robthreefold commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner Author

⚠️ Snyk checks are incomplete.

Status Scan Engine Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details
⚠️ Licenses 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@Robthreefold

Robthreefold commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner Author

⚠️ Snyk checks are incomplete.

Status Scan Engine Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details
⚠️ Licenses 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@Robthreefold

Robthreefold commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner Author

⛔ Snyk checks have failed. 1 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (1)
⛔ Open Source Security 0 0 1 0 1 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

This branch was successfully deployed

1 active deployment
outsystems — dacb3678 Deployed Nov 5, 2026 by Robthreefold via security #199
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