Skip to content

[Snyk] Security upgrade werkzeug from 2.2.3 to 3.1.4#1

Open
dominicusin wants to merge 1 commit intomainfrom
snyk-fix-d16f17ce0ca955ea21cd7ef5123e3081
Open

[Snyk] Security upgrade werkzeug from 2.2.3 to 3.1.4#1
dominicusin wants to merge 1 commit intomainfrom
snyk-fix-d16f17ce0ca955ea21cd7ef5123e3081

Conversation

@dominicusin
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.txt
⚠️ Warning
Flask 2.2.5 requires Werkzeug, which is not installed.
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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-14151620
@qodo-code-review
Copy link

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: test (ubuntu-latest, 3.8)

Failed stage: Install Python dependencies [❌]

Failure summary:

Dependency resolution failed during pip install -r requirements.txt:
- Requirement werkzeug>=3.1.4
could not be satisfied. Available versions listed stopped at 3.0.6, so no distribution matching
>=3.1.4 exists for the environment (Python 3.8).
- This caused pip to error out and the job to exit
with code 1.

Relevant error logs:
1:  ##[group]Runner Image Provisioner
2:  Hosted Compute Agent
...

288:  Downloading click-8.1.8-py3-none-any.whl.metadata (2.3 kB)
289:  Collecting pyyaml>=6.0 (from -r requirements.txt (line 3))
290:  Downloading PyYAML-6.0.3-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.1 kB)
291:  Collecting numpy>=1.20.0 (from -r requirements.txt (line 4))
292:  Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
293:  Collecting pandas>=1.3.0 (from -r requirements.txt (line 5))
294:  Downloading pandas-2.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
295:  Collecting matplotlib>=3.5.0 (from -r requirements.txt (line 6))
296:  Downloading matplotlib-3.7.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.7 kB)
297:  Collecting seaborn>=0.11.0 (from -r requirements.txt (line 7))
298:  Downloading seaborn-0.13.2-py3-none-any.whl.metadata (5.4 kB)
299:  Collecting psutil>=5.8.0 (from -r requirements.txt (line 8))
300:  Downloading psutil-7.1.3-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl.metadata (23 kB)
301:  Collecting flask>=2.0.0 (from -r requirements.txt (line 11))
302:  Downloading flask-3.0.3-py3-none-any.whl.metadata (3.2 kB)
303:  ERROR: Could not find a version that satisfies the requirement werkzeug>=3.1.4 (from versions: 0.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.5, 0.5.1, 0.6, 0.6.1, 0.6.2, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.10, 0.10.1, 0.10.2, 0.10.4, 0.11, 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.11.6, 0.11.7, 0.11.8, 0.11.9, 0.11.10, 0.11.11, 0.11.12, 0.11.13, 0.11.14, 0.11.15, 0.12, 0.12.1, 0.12.2, 0.13, 0.14, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.15.4, 0.15.5, 0.15.6, 0.16.0, 0.16.1, 1.0.0rc1, 1.0.0, 1.0.1, 2.0.0rc1, 2.0.0rc2, 2.0.0rc3, 2.0.0rc4, 2.0.0rc5, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.2.0a1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6)
304:  ERROR: No matching distribution found for werkzeug>=3.1.4
305:  ##[error]Process completed with exit code 1.
306:  Post job cleanup.

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