permitio / PDP

8 stars 4 forks source link

[Snyk] Fix for 6 vulnerabilities #136

Open roekatz opened 7 months ago

roekatz commented 7 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.

:sparkles: Snyk has automatically assigned this pull request, [set who gets assigned](https://app.snyk.io/org/permit/project/ee8b6a09-9fae-4dec-8b30-4ced8fd1641b?utm_source=github&utm_medium=referral&page=fix-pr/settings/integration). As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user. #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - requirements.txt
⚠️ Warning ``` opal-common 0.7.5 requires aiohttp, which is not installed. opal-common 0.7.5 requires fastapi-websocket-pubsub, which is not installed. opal-common 0.7.5 has requirement fastapi<1,>=0.109.1, but you have fastapi 0.103.2. opal-common 0.7.5 has requirement cryptography<42,>=41.0.2, but you have cryptography 42.0.5. opal-common 0.7.5 has requirement charset-normalizer<3,>=2.0.12, but you have charset-normalizer 3.3.2. opal-client 0.7.5 requires aiohttp, which is not installed. opal-client 0.7.5 requires fastapi-websocket-pubsub, which is not installed. opal-client 0.7.5 has requirement fastapi<1,>=0.109.1, but you have fastapi 0.103.2. opal-client 0.7.5 has requirement websockets<11,>=10.3, but you have websockets 11.0.3. opal-client 0.7.5 has requirement charset-normalizer<3,>=2.0.12, but you have charset-normalizer 3.3.2. fastapi-websocket-rpc 0.1.25 has requirement websockets<11,>=10.3, but you have websockets 11.0.3. ```
#### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **591/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.4 | Improper Input Validation
[SNYK-PYTHON-AIOHTTP-6091621](https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091621) | `aiohttp:`
`3.8.6 -> 3.9.2`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **591/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.4 | Improper Input Validation
[SNYK-PYTHON-AIOHTTP-6091622](https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091622) | `aiohttp:`
`3.8.6 -> 3.9.2`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **616/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.9 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
[SNYK-PYTHON-AIOHTTP-6209406](https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209406) | `aiohttp:`
`3.8.6 -> 3.9.2`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **646/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.5 | HTTP Request Smuggling
[SNYK-PYTHON-AIOHTTP-6209407](https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209407) | `aiohttp:`
`3.8.6 -> 3.9.2`
| No | Proof of Concept ![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 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-FASTAPI-6228055](https://snyk.io/vuln/SNYK-PYTHON-FASTAPI-6228055) | `fastapi:`
`0.103.2 -> 0.109.1`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **509/1000**
**Why?** Has a fix available, CVSS 5.9 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-SETUPTOOLS-3180412](https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412) | `setuptools:`
`40.5.0 -> 65.5.1`
| 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](https://app.snyk.io/org/permit/project/ee8b6a09-9fae-4dec-8b30-4ced8fd1641b?utm_source=github&utm_medium=referral&page=fix-pr) 👩‍💻 [Set who automatically gets assigned](https://app.snyk.io/org/permit/project/ee8b6a09-9fae-4dec-8b30-4ced8fd1641b?utm_source=github&utm_medium=referral&page=fix-pr/settings/integration) 🛠 [Adjust project settings](https://app.snyk.io/org/permit/project/ee8b6a09-9fae-4dec-8b30-4ced8fd1641b?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:{"prId":"e478e237-3ec2-48d5-948e-176b36d85bc5","prPublicId":"e478e237-3ec2-48d5-948e-176b36d85bc5","dependencies":[{"name":"aiohttp","from":"3.8.6","to":"3.9.2"},{"name":"fastapi","from":"0.103.2","to":"0.109.1"},{"name":"setuptools","from":"40.5.0","to":"65.5.1"}],"packageManager":"pip","projectPublicId":"ee8b6a09-9fae-4dec-8b30-4ced8fd1641b","projectUrl":"https://app.snyk.io/org/permit/project/ee8b6a09-9fae-4dec-8b30-4ced8fd1641b?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-AIOHTTP-6091621","SNYK-PYTHON-AIOHTTP-6091622","SNYK-PYTHON-AIOHTTP-6209406","SNYK-PYTHON-AIOHTTP-6209407","SNYK-PYTHON-FASTAPI-6228055","SNYK-PYTHON-SETUPTOOLS-3180412"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[591,591,616,646,696,509],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Improper Input Validation](https://learn.snyk.io/lesson/improper-input-validation/?loc=fix-pr) 🦉 [Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')](https://learn.snyk.io/lesson/directory-traversal/?loc=fix-pr) 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr)