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] Security upgrade python from 3.8-slim to 3.13.0b3-slim #1285

Open martin-majlis-s1 opened 4 months ago

martin-majlis-s1 commented 4 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 5 vulnerabilities in the dockerfile dependencies of this project. Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image. #### Snyk changed the following file(s): - `docker/Dockerfile.docker_monitor_testing_config` We recommend upgrading to `python:3.13.0b3-slim`, as this image has only **43** known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected. #### Vulnerabilities that will be fixed with an upgrade: | | Issue | Score | :-------------------------:|:-------------------------|:------------------------- ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | Integer Overflow or Wraparound
[SNYK-DEBIAN12-ZLIB-6008963](https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963) |   **500**   ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png 'low severity') | Information Exposure
[SNYK-DEBIAN12-GLIBC-1546991](https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-1546991) |   **150**   ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png 'low severity') | Uncontrolled Recursion
[SNYK-DEBIAN12-GLIBC-1547039](https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-1547039) |   **150**   ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png 'low severity') | Uncontrolled Recursion
[SNYK-DEBIAN12-GLIBC-1547069](https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-1547069) |   **150**   ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png 'low severity') | CVE-2024-26461
[SNYK-DEBIAN12-KRB5-6277411](https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-6277411) |   **150**   --- > [!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. --- **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/3278b9c4-b414-49a7-ad7a-38814354948e?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/3278b9c4-b414-49a7-ad7a-38814354948e?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:** πŸ¦‰ [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"python","from":"3.8-slim","to":"3.13.0b3-slim"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-ZLIB-6008963","priority_score":500,"priority_score_factors":[{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Integer Overflow or Wraparound"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-GLIBC-1546991","priority_score":150,"priority_score_factors":[{"type":"severity","label":"low","score":150},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"Information Exposure"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-GLIBC-1547039","priority_score":150,"priority_score_factors":[{"type":"severity","label":"low","score":150},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"Uncontrolled Recursion"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-GLIBC-1547069","priority_score":150,"priority_score_factors":[{"type":"severity","label":"low","score":150},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"Uncontrolled Recursion"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-KRB5-6277411","priority_score":150,"priority_score_factors":[{"type":"severity","label":"low","score":150},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"CVE-2024-26461"}],"prId":"87f0d12d-38a1-4610-b076-b5f82e902872","prPublicId":"87f0d12d-38a1-4610-b076-b5f82e902872","packageManager":"dockerfile","priorityScoreList":[500,150,150,150,150],"projectPublicId":"3278b9c4-b414-49a7-ad7a-38814354948e","projectUrl":"https://app.snyk.io/org/data_platformengineering/project/3278b9c4-b414-49a7-ad7a-38814354948e?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-DEBIAN12-GLIBC-1546991","SNYK-DEBIAN12-GLIBC-1547039","SNYK-DEBIAN12-GLIBC-1547069","SNYK-DEBIAN12-KRB5-6277411","SNYK-DEBIAN12-ZLIB-6008963"],"vulns":["SNYK-DEBIAN12-ZLIB-6008963","SNYK-DEBIAN12-GLIBC-1546991","SNYK-DEBIAN12-GLIBC-1547039","SNYK-DEBIAN12-GLIBC-1547069","SNYK-DEBIAN12-KRB5-6277411"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 55.05%. Comparing base (bd676a3) to head (f77f01d).

:exclamation: There is a different number of reports uploaded between BASE (bd676a3) and HEAD (f77f01d). Click for more details.

HEAD has 3 uploads less than BASE | Flag | BASE (bd676a3) | HEAD (f77f01d) | |------|------|------| ||4|1|
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1285/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/1285?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr) ```diff @@ Coverage Diff @@ ## master #1285 +/- ## =========================================== - Coverage 81.84% 55.05% -26.79% =========================================== Files 177 51 -126 Lines 43099 18599 -24500 Branches 4789 3286 -1503 =========================================== - Hits 35273 10239 -25034 - Misses 6594 7159 +565 + Partials 1232 1201 -31 ``` [see 170 files with indirect coverage changes](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1285/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr)
github-actions[bot] commented 4 months ago

Test Results

βŸβ€„β€ˆβŸβ€„βŸβ€„8 files  Β±0β€‚β€ƒβŸβ€„β€ˆβŸβ€„βŸβ€„8 suites  Β±0   8m 31s :stopwatch: Β±0s 1β€ˆ467 tests Β±0  1β€ˆ447 :heavy_check_mark: Β±0β€‚β€ƒβŸβ€„20 :zzz: Β±0  0 :x: Β±0  2β€ˆ805 runs  Β±0  2β€ˆ683 :heavy_check_mark: Β±0  122 :zzz: Β±0  0 :x: Β±0 

Results for commit f77f01d8. ± Comparison against base commit bd676a3e.