Coteh / simpleimage

:sunrise_over_mountains: A simple image hosting service implemented using Node.js + Express + MongoDB + Redis
8 stars 5 forks source link

[Snyk] Upgrade sharp from 0.32.6 to 0.33.4 #811

Closed Coteh closed 3 weeks ago

Coteh commented 3 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 upgrade sharp from 0.32.6 to 0.33.4.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is **21 versions** ahead of your current version. - The recommended version was released on **2 months ago**.
Release notes
Package name: sharp
  • 0.33.4 - 2024-05-16
    No content.
  • 0.33.4-rc.0 - 2024-05-16
    No content.
  • 0.33.3 - 2024-03-23
    No content.
  • 0.33.3-rc.0 - 2024-03-22
    No content.
  • 0.33.2 - 2024-01-12
    No content.
  • 0.33.2-rc.1 - 2024-01-12
    No content.
  • 0.33.2-rc.0 - 2024-01-11
    No content.
  • 0.33.1 - 2023-12-17
    No content.
  • 0.33.1-rc.3 - 2023-12-17
    No content.
  • 0.33.1-rc.2 - 2023-12-17
    No content.
  • 0.33.1-rc.0 - 2023-12-12
  • 0.33.0 - 2023-11-29
  • 0.33.0-rc.2 - 2023-11-22
  • 0.33.0-alpha.11 - 2023-11-10
  • 0.33.0-alpha.10 - 2023-11-04
  • 0.33.0-alpha.9 - 2023-10-13
  • 0.33.0-alpha.8 - 2023-10-10
  • 0.33.0-alpha.7 - 2023-10-10
  • 0.33.0-alpha.6 - 2023-10-09
  • 0.33.0-alpha.4 - 2023-10-06
  • 0.33.0-alpha.3 - 2023-10-06
  • 0.32.6 - 2023-09-18
from sharp GitHub release notes
--- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - 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 upgrade PRs._ **For more information:** > - 🧐 [View latest project report](https://app.snyk.io/org/coteh/project/c779e2ce-a66d-48f0-8067-00ffb104f8f7?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) > - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/coteh/project/c779e2ce-a66d-48f0-8067-00ffb104f8f7/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/coteh/project/c779e2ce-a66d-48f0-8067-00ffb104f8f7/settings/integration?pkg=sharp&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
socket-security[bot] commented 3 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/sharp@0.33.4 environment Transitive: eval, filesystem, shell +28 181 MB lovell

🚮 Removed packages: npm/sharp@0.32.6

View full report↗︎

socket-security[bot] commented 3 months ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Install scripts npm/sharp@0.33.4
  • Install script: install
  • Source: node install/check
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/sharp@0.33.4
codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.89%. Comparing base (879342e) to head (b4449d1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #811 +/- ## ======================================= Coverage 82.89% 82.89% ======================================= Files 31 31 Lines 1222 1222 ======================================= Hits 1013 1013 Misses 209 209 ```

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

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.