Monkey-Mouse / mo2

blog with go
MIT License
11 stars 4 forks source link

[Snyk] Security upgrade ubuntu from latest to 22.04 #308

Open Chronostasys opened 2 years ago

Chronostasys commented 2 years ago

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


Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image. #### Changes included in this PR - Dockerfile We recommend upgrading to `ubuntu:22.04`, as this image has only 10 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected. Some of the most important vulnerabilities in your base image include: | Severity | Priority Score / 1000 | Issue | Exploit Maturity | | :------: | :-------------------- | :---- | :--------------- | | ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **221** | CVE-2022-3219
[SNYK-UBUNTU2204-GNUPG2-3035409](https://snyk.io/vuln/SNYK-UBUNTU2204-GNUPG2-3035409) | No Known Exploit | | ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **300** | Improper Verification of Cryptographic Signature
[SNYK-UBUNTU2204-PERL-2789081](https://snyk.io/vuln/SNYK-UBUNTU2204-PERL-2789081) | No Known Exploit | | ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **150** | Time-of-check Time-of-use (TOCTOU)
[SNYK-UBUNTU2204-SHADOW-2801886](https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-2801886) | No Known Exploit | | ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **150** | Time-of-check Time-of-use (TOCTOU)
[SNYK-UBUNTU2204-SHADOW-2801886](https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-2801886) | No Known Exploit | | ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **300** | Out-of-bounds Write
[SNYK-UBUNTU2204-ZLIB-2975633](https://snyk.io/vuln/SNYK-UBUNTU2204-ZLIB-2975633) | No Known Exploit | --- **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/chronostasys/project/75ccf96b-f523-456f-8d6d-09eece266fcc?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/chronostasys/project/75ccf96b-f523-456f-8d6d-09eece266fcc?utm_source=github&utm_medium=referral&page=fix-pr/settings) [//]: # 'snyk:metadata:{"prId":"1491cd9b-c0d9-40ec-aa74-4895d0c482dd","prPublicId":"1491cd9b-c0d9-40ec-aa74-4895d0c482dd","dependencies":[{"name":"ubuntu","from":"latest","to":"22.04"}],"packageManager":"dockerfile","projectPublicId":"75ccf96b-f523-456f-8d6d-09eece266fcc","projectUrl":"https://app.snyk.io/org/chronostasys/project/75ccf96b-f523-456f-8d6d-09eece266fcc?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-UBUNTU2204-ZLIB-2975633","SNYK-UBUNTU2204-PERL-2789081","SNYK-UBUNTU2204-GNUPG2-3035409","SNYK-UBUNTU2204-SHADOW-2801886"],"upgrade":["SNYK-UBUNTU2204-GNUPG2-3035409","SNYK-UBUNTU2204-PERL-2789081","SNYK-UBUNTU2204-SHADOW-2801886","SNYK-UBUNTU2204-SHADOW-2801886","SNYK-UBUNTU2204-ZLIB-2975633"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[300,300,221,150]}' --- **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)
codecov[bot] commented 2 years ago

Codecov Report

Merging #308 (da23083) into main (57b7d17) will not change coverage. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/Monkey-Mouse/mo2/pull/308/graphs/tree.svg?width=650&height=150&src=pr&token=8X3HF5VFWT&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Monkey-Mouse)](https://codecov.io/gh/Monkey-Mouse/mo2/pull/308?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Monkey-Mouse) ```diff @@ Coverage Diff @@ ## main #308 +/- ## ======================================= Coverage 35.11% 35.11% ======================================= Files 44 44 Lines 2862 2862 ======================================= Hits 1005 1005 Misses 1739 1739 Partials 118 118 ```