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 #308

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

perdelt
Copy link
Collaborator

@perdelt perdelt commented Jul 16, 2024

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


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to fix 4 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements.txt
⚠️ Warning ``` dbmsbenchmarker 0.14.2 requires pandas, which is not installed. dbmsbenchmarker 0.14.2 requires scipy, which is not installed. dbmsbenchmarker 0.14.2 has requirement Werkzeug>=3.0.1, but you have Werkzeug 2.2.3. dbmsbenchmarker 0.14.2 has requirement fonttools>=4.43.0, but you have fonttools 4.38.0. dbmsbenchmarker 0.14.2 has requirement zipp>=3.19.1, but you have zipp 3.15.0. dbmsbenchmarker 0.14.2 has requirement urllib3>=2.2.2, but you have urllib3 2.0.7. dbmsbenchmarker 0.14.2 has requirement setuptools>=65.5.1, but you have setuptools 40.5.0. dbmsbenchmarker 0.14.2 has requirement numpy>=1.22.2, but you have numpy 1.21.3. dbmsbenchmarker 0.14.2 has requirement requests>=2.32.0, but you have requests 2.31.0.
</details>





---

> [!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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIyZmI1MzJlZC1mNmZkLTRhM2QtODNjYS1hMmVmODBmYTQ1OGIiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjJmYjUzMmVkLWY2ZmQtNGEzZC04M2NhLWEyZWY4MGZhNDU4YiJ9fQ==" width="0" height="0"/>
🧐 [View latest project report](https://app.snyk.io/org/perdelt/project/344cf01f-21a2-414d-84cc-f8f3dac7c668?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr)
📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates)
🛠 [Adjust project settings](https://app.snyk.io/org/perdelt/project/344cf01f-21a2-414d-84cc-f8f3dac7c668?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings)
📚 [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities)

---

**Learn how to fix vulnerabilities with free interactive lessons:**

🦉 [NULL Pointer Dereference](https://learn.snyk.io/lesson/null-dereference/?loc&#x3D;fix-pr)
🦉 [Improper Control of Generation of Code (&#x27;Code Injection&#x27;)](https://learn.snyk.io/lesson/malicious-code-injection/?loc&#x3D;fix-pr)

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"numpy","from":"1.21.3","to":"1.22.2"},{"name":"setuptools","from":"68.0.0","to":"70.0.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-NUMPY-2321964","priority_score":506,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"3.7","score":185},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"NULL Pointer Dereference"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-NUMPY-2321966","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":"Buffer Overflow"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-NUMPY-2321970","priority_score":506,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"3.7","score":185},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"Denial of Service (DoS)"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"}],"prId":"2fb532ed-f6fd-4a3d-83ca-a2ef80fa458b","prPublicId":"2fb532ed-f6fd-4a3d-83ca-a2ef80fa458b","packageManager":"pip","priorityScoreList":[506,399,506,768],"projectPublicId":"344cf01f-21a2-414d-84cc-f8f3dac7c668","projectUrl":"https://app.snyk.io/org/perdelt/project/344cf01f-21a2-414d-84cc-f8f3dac7c668?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-NUMPY-2321964","SNYK-PYTHON-NUMPY-2321966","SNYK-PYTHON-NUMPY-2321970","SNYK-PYTHON-SETUPTOOLS-7448482"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

@perdelt perdelt changed the base branch from master to dev July 17, 2024 05:46
@perdelt perdelt merged commit 5be30fc into dev Jul 17, 2024
1 of 2 checks passed
@perdelt perdelt deleted the snyk-fix-4268ec000808e95bf37dca76b3eb9560 branch July 29, 2024 05:42
perdelt added a commit that referenced this pull request Oct 9, 2024
* fix: requirements.txt to reduce vulnerabilities (#307)

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-6928867
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250
- https://snyk.io/vuln/SNYK-PYTHON-ZIPP-7430899

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* Bexhoma: Unify output

* Bexhoma: Correct storage labels

* DBMSBenchmarker: v0.14.2

* Bexhoma: Unify output

* Bexhoma: Unify storage name

* Clustermanager: natural_sort()

* Benchbase: Prepare unified evaluation

* PostgreSQL: Shut down smart and graceful within 180s - otherwise OLTP workloads may crush database

* Benchbase: Prepare unified evaluation, natural sorting

* fix: requirements.txt to reduce vulnerabilities (#308)

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-7448482

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* PostgreSQL: Try to support recovery from YAML

* fix: images/benchmarker_dbmsbenchmarker/Dockerfile_template to reduce vulnerabilities (#311)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-IMAGEMAGICK-1548733
- https://snyk.io/vuln/SNYK-DEBIAN12-LIBDE265-6105348
- https://snyk.io/vuln/SNYK-DEBIAN12-OPENSSH-7413682
- https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-3325304
- https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-5853785

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: images/evaluator_dbmsbenchmarker/Dockerfile_template to reduce vulnerabilities (#312)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-GDKPIXBUF-6207393
- https://snyk.io/vuln/SNYK-DEBIAN12-GDKPIXBUF-6207393
- https://snyk.io/vuln/SNYK-DEBIAN12-IMAGEMAGICK-1548733
- https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-3325304
- https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-5853785

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* DBMSBenchmarker: v0.14.3

* Docs: Include test cases

* DBMS: PostgreSQL with PGBouncer test

* Test Cases: Cleaned and unified

* Docs: More about HammerDB

* Docs: More about Benchbase

* Docs: Updated

* Docs: Updated testcases

* YCSB: Unify parameters

* YCSB: Unify parameters - new approach

* Benchbase: Unify parameters - new approach

* Bexhoma: Message queue output in status

* Bexhoma: test_results_column()

* TPC-H: Unify parameters

* HammerDB: Unify parameters

* Unify parameters: first test run

* Unify parameters: second test run with log files

* prepare_testbed: sketch for TPC-H

* TPC-H: Cleaned by hiding details

* Unify generator und loader pods

* Unify parameters: third test run for docs

* Benchbase: Integrate redis queue

* Unify parameters: third test run for docs

* YCSB: Integrate redis queue corrected

* Unify parameters: third test run for docs

* YCSB: Cleaned by hiding details

* Benchbase: Cleaned by hiding details

* HammerDB: Cleaned by hiding details

* Example: Cleaned by hiding details

* JOSS github action v4

* fix: images/evaluator_dbmsbenchmarker/Dockerfile_template to reduce vulnerabilities (#318)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-AOM-7197979
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: images/benchmarker_dbmsbenchmarker/Dockerfile_template to reduce vulnerabilities (#319)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* Unify parameters: logs for tests and docs

* Experiment: Cleaned by hiding details

* Test: Adjusted times, removed docs

* Test: Demo results

* TPC-H: Cleaned by hiding details

* Experiment: Cleaned by hiding details

* Test: Demo results

* Unify parameters: Treat int as lists of 1 element

* Test: Demo results

* prepare_testbed: sketch for TPC-H

* TPC-H: Cleaned by hiding details

* Unify generator und loader pods

* Unify parameters: third test run for docs

* Benchbase: Integrate redis queue

* Unify parameters: third test run for docs

* YCSB: Integrate redis queue corrected

* Unify parameters: third test run for docs

* YCSB: Cleaned by hiding details

* Benchbase: Cleaned by hiding details

* HammerDB: Cleaned by hiding details

* Example: Cleaned by hiding details

* Unify parameters: logs for tests and docs

* Experiment: Cleaned by hiding details

* Test: Adjusted times, removed docs

* Test: Demo results

* TPC-H: Cleaned by hiding details

* Experiment: Cleaned by hiding details

* Test: Demo results

* Unify parameters: Treat int as lists of 1 element

* Test: Demo results

* Docs: Demo results

* TPC-H: Different Docker image for generator

* Docs: Demo results

* Benchbase: Docs with current commands and results

* YCSB: Docs with current commands and results

* HammerDB: Docs with current commands and results

* TPC-H: Docs with current commands and results

* Docs: Demo results on fixed nodes

* TPC-H: Docs with current commands and results

* Benchbase: Docs with current commands and results

* Bexhoma: Show correct DBMS name in summary

* Bexhoma: Show correct list parameters in summary

* PyPi: use newer version of action script

* TPC-H: Notes in result for SF=100

* Bexhoma: store_workflow_results()

* Bexhoma: update_workload()

* Bexhoma: type in workload

* Bexhoma: get_dashboard_pod()

* Bexhoma: reconstruct_workflow() for dbmsbenchmarker

* Bexhoma: Summary shows workflow (planned and actual)

* Bexhoma: Summary shows duration

* Docs: Demo results on fixed nodes

* Bexhoma: Show type and duration as first in summary

* Bexhoma: store_workflow_results()

* Bexhoma: update_workload()

* Bexhoma: type in workload

* Bexhoma: get_dashboard_pod()

* Bexhoma: reconstruct_workflow() for dbmsbenchmarker

* Bexhoma: Summary shows workflow (planned and actual)

* Bexhoma: Summary shows duration

* Bexhoma: Show type and duration as first in summary

* Docs: Updated demo results

* Bexhoma: test_workflow()

* Docs: Updated demo results

* Bexhoma: Show and compare workflow in summary

* Bexhoma: TEST also for monitoring

* Bexhoma: test_workflow()

* TPC-H: MonetDB new summary format

* Bexhoma: Show and compare workflow in summary also for tpch

* Bexhoma: Summary option for status tool

* Bexhoma: Summary shows experiment code

* Docs: Updated demo pages

* Docs: Updated

* Tests: Adjusted time span per test run based on experiences

* Docs: Current test results

* Bexhoma: Summary option for status tool fixed

* Docs: Current test results, tpch workflow corrected

* Bexhoma: Start collecting known error messages (like missing DNS entry)

* Docs: Current test results

* Bexhoma: workflow_errors for all non dbmsbenchmarker jobs

* Bexhoma: workflow_errors in experiment

* Evaluator: Base class looks for errors in workflow (so it applies to dbmsbenchmarker)

* Evaluator: self.evaluator

* Evaluator: show workflow errors (if any)

* Docs: Doc texts contain exact call for generating doc results

* Bexhoma: Remove all unused imports

* Bexhoma: Added documentation to classes

* Docs: Current test results and final tests

* Evaluator: only show queries with failures in errors and warnings

* Docs: Final test results
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