DerwenAI / kglab

Graph Data Science: an abstraction layer in Python for building knowledge graphs, integrated with popular graph libraries – atop Pandas, NetworkX, RAPIDS, RDFlib, pySHACL, PyVis, morph-kgc, pslpython, pyarrow, etc.
https://derwen.ai/docs/kgl/
MIT License
581 stars 66 forks source link

[Snyk] Security upgrade sqlparse from 0.4.4 to 0.5.0 #334

Closed ceteri closed 5 months ago

ceteri commented 5 months ago

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 ``` statsmodels 0.13.5 requires scipy, which is not installed. statsmodels 0.13.5 requires scipy, which is not installed. morph-kgc 2.6.2 requires ruamel-yaml, which is not installed. morph-kgc 2.6.2 has requirement pandas<2.0.0,>=1.4.0, but you have pandas 1.3.5. botocore 1.27.59 has requirement urllib3<1.27,>=1.25.4, but you have urllib3 2.0.7. ```
#### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (\*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Uncontrolled Recursion
[SNYK-PYTHON-SQLPARSE-6615674](https://snyk.io/vuln/SNYK-PYTHON-SQLPARSE-6615674) | No | Proof of Concept (\*) 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](https://app.snyk.io/org/ceteri/project/6d4e4b3d-02ee-49e0-b99e-7cddccc7e123?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/ceteri/project/6d4e4b3d-02ee-49e0-b99e-7cddccc7e123?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"sqlparse","from":"0.4.4","to":"0.5.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SQLPARSE-6615674","priority_score":696,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Uncontrolled Recursion"}],"prId":"bddc88ce-8d8e-4a57-ade9-8009f86d2dc5","prPublicId":"bddc88ce-8d8e-4a57-ade9-8009f86d2dc5","packageManager":"pip","priorityScoreList":[696],"projectPublicId":"6d4e4b3d-02ee-49e0-b99e-7cddccc7e123","projectUrl":"https://app.snyk.io/org/ceteri/project/6d4e4b3d-02ee-49e0-b99e-7cddccc7e123?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-SQLPARSE-6615674"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}' --- **Note:** _This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our [documentation.](https://docs.snyk.io/scan-using-snyk/snyk-open-source/automatic-and-manual-prs-with-snyk-open-source/customize-pr-templates-closed-beta)_ **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr)