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.26.1 #332

Open Rubix982 opened 2 months ago

Rubix982 commented 2 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 4 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): - `web-server/Dockerfile` We recommend upgrading to `nginx:1.26.1`, as this image has only **93** 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 | :-------------------------:|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write
[SNYK-DEBIAN11-GLIBC-5927133](https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133) |   **829**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write
[SNYK-DEBIAN11-GLIBC-5927133](https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133) |   **829**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write
[SNYK-DEBIAN11-LIBWEBP-5893094](https://snyk.io/vuln/SNYK-DEBIAN11-LIBWEBP-5893094) |   **829**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Resource Exhaustion
[SNYK-DEBIAN11-NGHTTP2-5953384](https://snyk.io/vuln/SNYK-DEBIAN11-NGHTTP2-5953384) |   **829**   ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | Off-by-one Error
[SNYK-DEBIAN11-LIBTASN16-3061097](https://snyk.io/vuln/SNYK-DEBIAN11-LIBTASN16-3061097) |   **714**   --- > [!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/rubix982/project/2c256ee0-d332-4c15-8beb-5111d36056ab?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/rubix982/project/2c256ee0-d332-4c15-8beb-5111d36056ab?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:** 🦉 [Resource Exhaustion](https://learn.snyk.io/lesson/redos/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"nginx","from":"1.21","to":"1.26.1"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Mature","id":"SNYK-DEBIAN11-GLIBC-5927133","priority_score":829,"priority_score_factors":[{"type":"exploit","label":"High","score":214},{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Out-of-bounds Write"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN11-LIBWEBP-5893094","priority_score":829,"priority_score_factors":[{"type":"exploit","label":"High","score":214},{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Out-of-bounds Write"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN11-NGHTTP2-5953384","priority_score":829,"priority_score_factors":[{"type":"exploit","label":"High","score":214},{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Resource Exhaustion"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN11-GLIBC-5927133","priority_score":829,"priority_score_factors":[{"type":"exploit","label":"High","score":214},{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Out-of-bounds Write"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN11-LIBTASN16-3061097","priority_score":714,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Off-by-one Error"}],"prId":"cb8ba79c-438f-49fd-9450-fe3c785a743e","prPublicId":"cb8ba79c-438f-49fd-9450-fe3c785a743e","packageManager":"dockerfile","priorityScoreList":[829,829,829,714],"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","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-LIBTASN16-3061097","SNYK-DEBIAN11-LIBWEBP-5893094","SNYK-DEBIAN11-NGHTTP2-5953384"],"vulns":["SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-LIBWEBP-5893094","SNYK-DEBIAN11-NGHTTP2-5953384","SNYK-DEBIAN11-LIBTASN16-3061097"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
CLAassistant commented 2 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 2 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/c26be05fe0cacaea13a152bde9d9aff43a402591/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.