Skip to content
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

[Snyk] Fix for 4 vulnerabilities #459

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

turian
Copy link
Collaborator

@turian turian commented Mar 18, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • requirements.txt
⚠️ Warning
sphinx 5.3.0 has requirement docutils<0.20,>=0.14, but you have docutils 0.20.1.
scikit-learn 1.0.2 requires scipy, which is not installed.
myst-parser 1.0.0 has requirement docutils<0.20,>=0.15, but you have docutils 0.20.1.
lightning 1.9.5 has requirement fastapi<0.89.0, but you have fastapi 0.103.2.
librosa 0.10.1 requires scipy, which is not installed.
jupytext 1.10.3 has requirement markdown-it-py~=0.6.0, but you have markdown-it-py 2.2.0.
fastapi 0.103.2 has requirement starlette<0.28.0,>=0.27.0, but you have starlette 0.29.0.
botocore 1.33.13 has requirement urllib3<1.27,>=1.25.4; python_version < "3.10", but you have urllib3 2.0.7.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
medium severity 658/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-BLACK-6256273
black:
22.6.0 -> 24.3.0
No Proof of Concept
high severity 696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-FASTAPI-6228055
fastapi:
0.88.0 -> 0.109.1
No Proof of Concept
low severity 379/1000
Why? Has a fix available, CVSS 3.3
Improper Handling of Alternate Encoding
SNYK-PYTHON-MARKDOWNITPY-3330239
markdown-it-py:
0.6.2 -> 2.2.0
No No Known Exploit
low severity 379/1000
Why? Has a fix available, CVSS 3.3
Improper Handling of Alternate Encoding
SNYK-PYTHON-MARKDOWNITPY-3330240
markdown-it-py:
0.6.2 -> 2.2.0
No No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

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.

Check the changes in this PR to ensure they won't cause issues with your project.


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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

Copy link

codecov bot commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.08%. Comparing base (88bda58) to head (7deb56f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #459   +/-   ##
=======================================
  Coverage   97.08%   97.08%           
=======================================
  Files          10       10           
  Lines         892      892           
=======================================
  Hits          866      866           
  Misses         26       26           
Flag Coverage Δ
pytest 96.70% <ø> (ø)
unittests 87.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

None yet

2 participants