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 17 vulnerabilities #131

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

Conversation

kroman0
Copy link

@kroman0 kroman0 commented May 17, 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
Jinja2 2.7.3 requires markupsafe, which is not installed.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
critical severity 704/1000
Why? Has a fix available, CVSS 9.8
Arbitrary Code Execution
SNYK-PYTHON-BOTO-2849305
No No Known Exploit
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
Arbitrary Code Execution
SNYK-PYTHON-BOTO-40479
No No Known Exploit
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
Information Exposure
SNYK-PYTHON-GEVENT-40735
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
SNYK-PYTHON-GEVENT-5906371
No No Known Exploit
medium severity 536/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 4.3
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PY-1049546
No Proof of Concept
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
Cross-site Scripting (XSS)
SNYK-PYTHON-PYRAMID-40730
No No Known Exploit
medium severity 464/1000
Why? Has a fix available, CVSS 5
Timing Attack
SNYK-PYTHON-PYRAMID-564353
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-SETUPTOOLS-3180412
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
HTTP Request Smuggling
SNYK-PYTHON-WAITRESS-2428349
No No Known Exploit
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
WSGI header spoofing
SNYK-PYTHON-WAITRESS-40552
No No Known Exploit
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
HTTP Response Splitting
SNYK-PYTHON-WAITRESS-40566
No No Known Exploit
high severity 569/1000
Why? Has a fix available, CVSS 7.1
HTTP Request Smuggling
SNYK-PYTHON-WAITRESS-538573
No No Known Exploit
high severity 569/1000
Why? Has a fix available, CVSS 7.1
HTTP Request Smuggling
SNYK-PYTHON-WAITRESS-538575
No No Known Exploit
high severity 569/1000
Why? Has a fix available, CVSS 7.1
HTTP Request Smuggling
SNYK-PYTHON-WAITRESS-539932
No No Known Exploit
high severity 569/1000
Why? Has a fix available, CVSS 7.1
HTTP Request Smuggling
SNYK-PYTHON-WAITRESS-543054
No No Known Exploit
low severity 399/1000
Why? Has a fix available, CVSS 3.7
HTTP Response Splitting
SNYK-PYTHON-WAITRESS-564339
No No Known Exploit
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
HTTP Response Splitting
SNYK-PYTHON-WEBOB-40490
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

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"boto","from":"2.31.1","to":"2.39.0"},{"name":"gevent","from":"1.1rc5","to":"23.9.0"},{"name":"py","from":"1.4.26","to":"1.10.0"},{"name":"pyramid","from":"1.5.7","to":"1.6a2"},{"name":"setuptools","from":"7.0","to":"65.5.1"},{"name":"waitress","from":"0.8.9","to":"2.1.1"},{"name":"webob","from":"1.4.1","to":"1.6.0a0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-BOTO-2849305","priority_score":704,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"9.8","score":490},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Arbitrary Code Execution"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-BOTO-40479","priority_score":539,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.5","score":325},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Arbitrary Code Execution"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-GEVENT-40735","priority_score":539,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.5","score":325},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Information Exposure"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-GEVENT-5906371","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PY-1049546","priority_score":536,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.3","score":215},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PY-1049546","priority_score":536,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.3","score":215},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PY-1049546","priority_score":536,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.3","score":215},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PYRAMID-40730","priority_score":539,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.5","score":325},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Cross-site Scripting (XSS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PYRAMID-564353","priority_score":464,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5","score":250},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Timing Attack"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PYRAMID-40730","priority_score":539,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.5","score":325},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Cross-site Scripting (XSS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PYRAMID-564353","priority_score":464,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5","score":250},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Timing Attack"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-SETUPTOOLS-3180412","priority_score":509,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-2428349","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-40552","priority_score":479,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"WSGI header spoofing"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-40566","priority_score":479,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"HTTP Response Splitting"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-538573","priority_score":569,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.1","score":355},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-538575","priority_score":569,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.1","score":355},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-539932","priority_score":569,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.1","score":355},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-543054","priority_score":569,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.1","score":355},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-564339","priority_score":399,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"3.7","score":185},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"HTTP Response Splitting"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-2428349","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-40552","priority_score":479,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"WSGI header spoofing"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-40566","priority_score":479,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"HTTP Response Splitting"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-538573","priority_score":569,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.1","score":355},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-538575","priority_score":569,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.1","score":355},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-539932","priority_score":569,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.1","score":355},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-543054","priority_score":569,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.1","score":355},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"HTTP Request Smuggling"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WAITRESS-564339","priority_score":399,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"3.7","score":185},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"HTTP Response Splitting"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WEBOB-40490","priority_score":479,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"HTTP Response Splitting"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WEBOB-40490","priority_score":479,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"HTTP Response Splitting"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WEBOB-40490","priority_score":479,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"HTTP Response Splitting"}],"prId":"645e04ec-28db-4713-b8ef-9e43dc2788ca","prPublicId":"645e04ec-28db-4713-b8ef-9e43dc2788ca","packageManager":"pip","priorityScoreList":[704,539,539,589,536,539,464,509,589,479,479,569,569,569,569,399,479],"projectPublicId":"17a20a42-58e0-4b73-bc70-d015b3063b04","projectUrl":"https://app.snyk.io/org/kroman0/project/17a20a42-58e0-4b73-bc70-d015b3063b04?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["pr-warning-shown","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-BOTO-2849305","SNYK-PYTHON-BOTO-40479","SNYK-PYTHON-GEVENT-40735","SNYK-PYTHON-GEVENT-5906371","SNYK-PYTHON-PY-1049546","SNYK-PYTHON-PYRAMID-40730","SNYK-PYTHON-PYRAMID-564353","SNYK-PYTHON-SETUPTOOLS-3180412","SNYK-PYTHON-WAITRESS-2428349","SNYK-PYTHON-WAITRESS-40552","SNYK-PYTHON-WAITRESS-40566","SNYK-PYTHON-WAITRESS-538573","SNYK-PYTHON-WAITRESS-538575","SNYK-PYTHON-WAITRESS-539932","SNYK-PYTHON-WAITRESS-543054","SNYK-PYTHON-WAITRESS-564339","SNYK-PYTHON-WEBOB-40490"],"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.

Learn how to fix vulnerabilities with free interactive lessons:

🦉 Arbitrary Code Execution
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Cross-site Scripting (XSS)

Copy link

guardrails bot commented May 17, 2024

⚠️ We detected 5 security issues in this pull request:

Vulnerable Libraries (5)
Severity Details
N/A pkg:pypi/gevent@23.9.0 upgrade to: 2f53c851eaf926767fbac62385615efd4886221c,23.9.1
High pkg:pypi/jinja2@2.7.3 (t) upgrade to: 9b53045c34e61013dc8f09b7e52a555fa16bed16,2.8.1
High pkg:pypi/pygments@2.0.2 (t) upgrade to: 2.7.4
Critical pkg:pypi/pyyaml@3.11 (t) upgrade to: 5.4
Medium pkg:pypi/waitress@2.1.1 upgrade to: 4f6789b035610e0552738cdc4b35ca809a592d48,2.1.2

More info on how to fix Vulnerable Libraries in Python.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

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