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 #329

Open Rubix982 opened 5 months ago

Rubix982 commented 5 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 **100** 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') | Resource Exhaustion
[SNYK-DEBIAN11-NGHTTP2-5953384](https://snyk.io/vuln/SNYK-DEBIAN11-NGHTTP2-5953384) |   **844**   ![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**   ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | Double Free
[SNYK-DEBIAN11-CURL-1585150](https://snyk.io/vuln/SNYK-DEBIAN11-CURL-1585150) |   **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) 🦉 [Double Free](https://learn.snyk.io/lesson/double-free/?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-NGHTTP2-5953384","priority_score":844,"priority_score_factors":[{"type":"socialTrends","label":true,"score":111},{"type":"exploit","label":"High","score":167},{"type":"fixability","label":true,"score":167},{"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":"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-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-CURL-1585150","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":"Double Free"}],"prId":"3419620c-24ac-4f4a-9a0b-a3046cf41c2f","prPublicId":"3419620c-24ac-4f4a-9a0b-a3046cf41c2f","packageManager":"dockerfile","priorityScoreList":[844,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-CURL-1585150","SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-LIBWEBP-5893094","SNYK-DEBIAN11-NGHTTP2-5953384"],"vulns":["SNYK-DEBIAN11-NGHTTP2-5953384","SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-LIBWEBP-5893094","SNYK-DEBIAN11-CURL-1585150"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
CLAassistant commented 5 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 5 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/b5f51e5178ba9041d7d13975f56172ecc3e234ed/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.