dxatscale / sfpowerscripts

A build system for modular development in Salesforce
https://dxatscale.io
MIT License
213 stars 98 forks source link

[Snyk] Security upgrade node from 18-bookworm to 20.4-bookworm-slim #1384

Closed azlam-abdulsalam closed 1 year ago

azlam-abdulsalam commented 1 year 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 - dockerfiles/sfpowerscripts.Dockerfile We recommend upgrading to `node:20.4-bookworm-slim`, as this image has only 28 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 | | :------: | :-------------------- | :---- | :--------------- | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **471** | Directory Traversal
[SNYK-DEBIAN12-LIBRSVG-5802975](https://snyk.io/vuln/SNYK-DEBIAN12-LIBRSVG-5802975) | No Known Exploit | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **471** | Directory Traversal
[SNYK-DEBIAN12-LIBRSVG-5802975](https://snyk.io/vuln/SNYK-DEBIAN12-LIBRSVG-5802975) | No Known Exploit | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **471** | Directory Traversal
[SNYK-DEBIAN12-LIBRSVG-5802975](https://snyk.io/vuln/SNYK-DEBIAN12-LIBRSVG-5802975) | No Known Exploit | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **471** | Directory Traversal
[SNYK-DEBIAN12-LIBRSVG-5802975](https://snyk.io/vuln/SNYK-DEBIAN12-LIBRSVG-5802975) | No Known Exploit | | ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **321** | Inappropriate Encoding for Output Context
[SNYK-DEBIAN12-OPENSSH-1556053](https://snyk.io/vuln/SNYK-DEBIAN12-OPENSSH-1556053) | 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/azlam-abdulsalam/project/253890b2-dfba-468c-b9a8-56fbb387a115?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/azlam-abdulsalam/project/253890b2-dfba-468c-b9a8-56fbb387a115?utm_source=github&utm_medium=referral&page=fix-pr/settings) [//]: # 'snyk:metadata:{"prId":"32a612f4-9646-46dd-8de5-c0e7d60d0287","prPublicId":"32a612f4-9646-46dd-8de5-c0e7d60d0287","dependencies":[{"name":"node","from":"18-bookworm","to":"20.4-bookworm-slim"}],"packageManager":"dockerfile","projectPublicId":"253890b2-dfba-468c-b9a8-56fbb387a115","projectUrl":"https://app.snyk.io/org/azlam-abdulsalam/project/253890b2-dfba-468c-b9a8-56fbb387a115?utm_source=github&utm_medium=referral&page=fix-pr","type":"user-initiated","patch":[],"vulns":["SNYK-DEBIAN12-LIBRSVG-5802975","SNYK-DEBIAN12-OPENSSH-1556053"],"upgrade":["SNYK-DEBIAN12-LIBRSVG-5802975","SNYK-DEBIAN12-LIBRSVG-5802975","SNYK-DEBIAN12-LIBRSVG-5802975","SNYK-DEBIAN12-LIBRSVG-5802975","SNYK-DEBIAN12-OPENSSH-1556053"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[471,321],"remediationStrategy":"vuln"}' --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Directory Traversal](https://learn.snyk.io/lesson/directory-traversal/?loc=fix-pr)
reviewpad[bot] commented 1 year ago

Reviewpad Report

:bangbang: Errors

:warning: Warnings

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (81ccf2f) 46.91% compared to head (5fdd71c) 46.91%.

:exclamation: Current head 5fdd71c differs from pull request most recent head b42fd4e. Consider uploading reports for the commit b42fd4e to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1384 +/- ## ======================================= Coverage 46.91% 46.91% ======================================= Files 70 70 Lines 2656 2656 Branches 309 309 ======================================= Hits 1246 1246 Misses 1381 1381 Partials 29 29 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.