Monkey-Mouse / mo2

blog with go
MIT License
11 stars 4 forks source link

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

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 11 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 | Issue | Exploit Maturity | | :------: | :---- | :--------------- | | ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | Out-of-bounds Read
[SNYK-UBUNTU2204-E2FSPROGS-2801319](https://snyk.io/vuln/SNYK-UBUNTU2204-E2FSPROGS-2801319) | No Known Exploit | | ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | CVE-2021-46828
[SNYK-UBUNTU2204-LIBTIRPC-2956571](https://snyk.io/vuln/SNYK-UBUNTU2204-LIBTIRPC-2956571) | No Known Exploit | | ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | CVE-2021-46828
[SNYK-UBUNTU2204-LIBTIRPC-2956571](https://snyk.io/vuln/SNYK-UBUNTU2204-LIBTIRPC-2956571) | No Known Exploit | | ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | Inadequate Encryption Strength
[SNYK-UBUNTU2204-OPENSSL-2941376](https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-2941376) | No Known Exploit | | ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | Improper Verification of Cryptographic Signature
[SNYK-UBUNTU2204-PERL-2789081](https://snyk.io/vuln/SNYK-UBUNTU2204-PERL-2789081) | 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":"452b352e-7259-47c6-a3c4-fd3f416dce32","prPublicId":"452b352e-7259-47c6-a3c4-fd3f416dce32","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-E2FSPROGS-2801319","SNYK-UBUNTU2204-LIBTIRPC-2956571","SNYK-UBUNTU2204-PERL-2789081","SNYK-UBUNTU2204-OPENSSL-2941376"],"upgrade":["SNYK-UBUNTU2204-E2FSPROGS-2801319","SNYK-UBUNTU2204-LIBTIRPC-2956571","SNYK-UBUNTU2204-LIBTIRPC-2956571","SNYK-UBUNTU2204-OPENSSL-2941376","SNYK-UBUNTU2204-PERL-2789081"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title"],"priorityScoreList":[null,null,300,null]}' --- **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 #307 (2e0e795) into main (57b7d17) will decrease coverage by 0.13%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #307      +/-   ##
==========================================
- Coverage   35.11%   34.97%   -0.14%     
==========================================
  Files          44       44              
  Lines        2862     2862              
==========================================
- Hits         1005     1001       -4     
- Misses       1739     1741       +2     
- Partials      118      120       +2     
Impacted Files Coverage Δ
server/middleware/auth.go 68.46% <0.00%> (-1.81%) :arrow_down: