scalyr / scalyr-agent-2

The source code for Scalyr Agent 2, the daemon process Scalyr customers run on their servers to collect metrics and logs.
Apache License 2.0
71 stars 56 forks source link

[Snyk] Fix for 3 vulnerabilities #1278

Open jmakar-s1 opened 6 months ago

jmakar-s1 commented 6 months ago

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 3 vulnerabilities in the pip dependencies of this project. #### Snyk changed the following file(s): - `lint-requirements.txt` --- > [!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: 🧐 [View latest project report](https://app.snyk.io/org/data_platformengineering/project/e975ae36-330c-4b3d-a18e-8ac993e09f2a?utm_source=github&utm_medium=referral&page=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/data_platformengineering/project/e975ae36-330c-4b3d-a18e-8ac993e09f2a?utm_source=github&utm_medium=referral&page=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:** πŸ¦‰ [SQL Injection](https://learn.snyk.io/lesson/sql-injection/?loc=fix-pr) πŸ¦‰ [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"bandit","from":"1.6.3","to":"1.7.7"},{"name":"black","from":"22.6.0","to":"24.3.0"},{"name":"setuptools","from":"40.5.0","to":"65.5.1"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-BANDIT-6241859","priority_score":574,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.2","score":360},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"SQL Injection"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-BLACK-6256273","priority_score":586,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"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)"}],"prId":"518a7e56-27dc-4724-978c-9657b876dd58","prPublicId":"518a7e56-27dc-4724-978c-9657b876dd58","packageManager":"pip","priorityScoreList":[574,586,509],"projectPublicId":"e975ae36-330c-4b3d-a18e-8ac993e09f2a","projectUrl":"https://app.snyk.io/org/data_platformengineering/project/e975ae36-330c-4b3d-a18e-8ac993e09f2a?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-BANDIT-6241859","SNYK-PYTHON-BLACK-6256273","SNYK-PYTHON-SETUPTOOLS-3180412"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
github-actions[bot] commented 6 months ago

Test Results

βŸβ€„β€ˆβŸβ€„20 files  Β±0β€‚β€ƒβŸβ€„β€ˆβŸβ€„20 suites  Β±0   30m 28s :stopwatch: -5s 1β€ˆ489 tests Β±0  1β€ˆ469 :heavy_check_mark: Β±0β€‚β€ƒβŸβ€„20 :zzz: Β±0  0 :x: Β±0  7β€ˆ116 runs  Β±0  6β€ˆ889 :heavy_check_mark: Β±0  227 :zzz: Β±0  0 :x: Β±0 

Results for commit 0399582a. ± Comparison against base commit 38cb1aa7.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.37%. Comparing base (b514d71) to head (0399582). Report is 6 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1278/graphs/tree.svg?width=650&height=150&src=pr&token=KrvyP8n7be&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr)](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1278?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr) ```diff @@ Coverage Diff @@ ## master #1278 +/- ## =========================================== + Coverage 54.83% 78.37% +23.54% =========================================== Files 51 177 +126 Lines 18666 43099 +24433 Branches 3294 4789 +1495 =========================================== + Hits 10235 33776 +23541 - Misses 7232 8256 +1024 + Partials 1199 1067 -132 ``` [see 168 files with indirect coverage changes](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1278/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr)