Game-as-a-Service / Game-Lobby-Web

The frontend of the Game as a Service lobby.
https://lobby.gaas.waterballsa.tw/
Apache License 2.0
25 stars 7 forks source link

[RENOVATE-BOT] Update dependency sharp to v0.32.6 [SECURITY] #355

Closed renovate[bot] closed 9 months ago

renovate[bot] commented 9 months ago

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sharp (changelog) 0.32.1 -> 0.32.6 age adoption passing confidence

GitHub Vulnerability Alerts

GHSA-54xq-cgqr-rpm3

Overview

sharp uses libwebp to decode WebP images and versions prior to the latest 0.32.6 are vulnerable to the high severity https://github.com/advisories/GHSA-j7hp-h8jx-5ppr.

Who does this affect?

Almost anyone processing untrusted input with versions of sharp prior to 0.32.6.

How to resolve this?

Using prebuilt binaries provided by sharp?

Most people rely on the prebuilt binaries provided by sharp.

Please upgrade sharp to the latest 0.32.6, which provides libwebp 1.3.2.

Using a globally-installed libvips?

Please ensure you are using the latest libwebp 1.3.2.

Possible workaround

Add the following to your code to prevent sharp from decoding WebP images.

sharp.block({ operation: ["VipsForeignLoadWebp"] });

Release Notes

lovell/sharp (sharp) ### [`v0.32.6`](https://togithub.com/lovell/sharp/compare/v0.32.5...v0.32.6) [Compare Source](https://togithub.com/lovell/sharp/compare/v0.32.5...v0.32.6) ### [`v0.32.5`](https://togithub.com/lovell/sharp/compare/v0.32.4...v0.32.5) [Compare Source](https://togithub.com/lovell/sharp/compare/v0.32.4...v0.32.5) ### [`v0.32.4`](https://togithub.com/lovell/sharp/compare/v0.32.3...v0.32.4) [Compare Source](https://togithub.com/lovell/sharp/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://togithub.com/lovell/sharp/compare/v0.32.2...v0.32.3) [Compare Source](https://togithub.com/lovell/sharp/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://togithub.com/lovell/sharp/compare/v0.32.1...v0.32.2) [Compare Source](https://togithub.com/lovell/sharp/compare/v0.32.1...v0.32.2)

Configuration

📅 Schedule: Branch creation - "" in timezone Asia/Taipei, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

GaaSBot commented 9 months ago

Knip Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/355/commits/6d9c02d920d91a51b7d13a493626f48c88b7313c

Unused files (9) | Unused files (9) | |------------------| | .bundlewatch.config.js | | components/shared/Chat/ChatContent.tsx | | components/shared/Chat/ChatMessage.tsx | | components/shared/Chat/index.tsx | | configs/i18nConfigs.ts | | lighthouserc.js | | reset.d.ts | | scripts/knipScanReporter.js | | scripts/lhciScanReporter.js |
Unused dependencies (2) | Unused dependencies (2) | |-------------------------| | **@svgr/webpack** package.json | | **sharp** package.json |
Unused devDependencies (5) | Unused devDependencies (5) | |----------------------------| | **@actions/github** package.json | | **@octokit/core** package.json | | **@storybook/blocks** package.json | | **@storybook/testing-library** package.json | | **@total-typescript/ts-reset** package.json |
Configuration issues (1) | Configuration issues (1) | |--------------------------| | **Unused** item in ignoreDependencies: @next/bundle-analyzer |
GaaSBot commented 9 months ago

🤖 Lighthouse Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/355/commits/6d9c02d920d91a51b7d13a493626f48c88b7313c

/rooms | Metric | Value | |--------|-------| | Performance | 72 | | Seo | 78 | | Accessibility | 78 | | HTML Report for LHCI Scan | [Report Link](https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1700163126452-3150.report.html) |
/rooms/abc | Metric | Value | |--------|-------| | Performance | 77 | | Seo | 78 | | Accessibility | 64 | | HTML Report for LHCI Scan | [Report Link](https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1700163126690-37218.report.html) |
/login | Metric | Value | |--------|-------| | Performance | 47 | | Seo | 80 | | Accessibility | 94 | | HTML Report for LHCI Scan | [Report Link](https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1700163126973-38595.report.html) |