Rubix982 / ASP.NET-ReactJS-Template

Power template, aimed at being as flexible as possible, for an ASP.NET 5.0 as a backend, and a ReactJS + Typescript + Redux frontend.
https://bit.ly/3rcb0LH
MIT License
7 stars 1 forks source link

[Snyk] Security upgrade nginx from 1.21 to 1 #324

Open Rubix982 opened 4 months ago

Rubix982 commented 4 months 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 - web-server/Dockerfile We recommend upgrading to `nginx:1`, as this image has only 102 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 | | :------: | :-------------------- | :---- | :--------------- | | ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **714** | Incorrect Default Permissions
[SNYK-DEBIAN11-CURL-2936229](https://snyk.io/vuln/SNYK-DEBIAN11-CURL-2936229) | No Known Exploit | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **829** | Out-of-bounds Write
[SNYK-DEBIAN11-GLIBC-5927133](https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133) | Mature | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **829** | Out-of-bounds Write
[SNYK-DEBIAN11-GLIBC-5927133](https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133) | Mature | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **829** | Out-of-bounds Write
[SNYK-DEBIAN11-LIBWEBP-5893094](https://snyk.io/vuln/SNYK-DEBIAN11-LIBWEBP-5893094) | Mature | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **829** | Resource Exhaustion
[SNYK-DEBIAN11-NGHTTP2-5953384](https://snyk.io/vuln/SNYK-DEBIAN11-NGHTTP2-5953384) | Mature | --- **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/rubix982/project/2c256ee0-d332-4c15-8beb-5111d36056ab?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/rubix982/project/2c256ee0-d332-4c15-8beb-5111d36056ab?utm_source=github&utm_medium=referral&page=fix-pr/settings) [//]: # 'snyk:metadata:{"prId":"76b2dafa-2d56-423f-ba0c-18f06171f76d","prPublicId":"76b2dafa-2d56-423f-ba0c-18f06171f76d","dependencies":[{"name":"nginx","from":"1.21","to":"1"}],"packageManager":"dockerfile","projectPublicId":"2c256ee0-d332-4c15-8beb-5111d36056ab","projectUrl":"https://app.snyk.io/org/rubix982/project/2c256ee0-d332-4c15-8beb-5111d36056ab?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-LIBWEBP-5893094","SNYK-DEBIAN11-NGHTTP2-5953384","SNYK-DEBIAN11-CURL-2936229"],"upgrade":["SNYK-DEBIAN11-CURL-2936229","SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-LIBWEBP-5893094","SNYK-DEBIAN11-NGHTTP2-5953384"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[829,829,829,714],"remediationStrategy":"vuln"}' --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Resource Exhaustion](https://learn.snyk.io/lesson/redos/?loc=fix-pr) 🦉 [Incorrect Default Permissions](https://learn.snyk.io/lesson/broken-access-control/?loc=fix-pr)
CLAassistant commented 4 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

guardrails[bot] commented 4 months ago

:warning: We detected 1 security issue in this pull request:

Insecure Access Control (1)
Severity | Details | Docs :-: | :-- | :-: High | Title: **Missing User Instruction**
https://github.com/Rubix982/ASP.NET-ReactJS-Template/blob/ee1809e6674e1455227bdbeda40fe786680c5ef2/web-server/Dockerfile#L1 | [:books:](https://docs.guardrails.io/docs/en/vulnerabilities/dockerfile/insecure_access_control.html?utm_source=ghpr#fd54f200-402c-4333-a5a4-36ef6709af2f) More info on how to fix Insecure Access Control in [Dockerfile](https://docs.guardrails.io/docs/en/vulnerabilities/dockerfile/insecure_access_control.html?utm_source=ghpr).

👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.