devsoc-unsw / freerooms

A web application designed to aid UNSW students in finding vacant rooms.
https://freerooms.devsoc.app/
Other
18 stars 1 forks source link

fix(deps): update dependency sharp to v0.32.6 [security] #412

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sharp (source, changelog) 0.31.2 -> 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) ### [`v0.32.1`](https://togithub.com/lovell/sharp/compare/v0.32.0...v0.32.1) [Compare Source](https://togithub.com/lovell/sharp/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://togithub.com/lovell/sharp/compare/v0.31.3...v0.32.0) [Compare Source](https://togithub.com/lovell/sharp/compare/v0.31.3...v0.32.0) ### [`v0.31.3`](https://togithub.com/lovell/sharp/compare/v0.31.2...v0.31.3) [Compare Source](https://togithub.com/lovell/sharp/compare/v0.31.2...v0.31.3)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

renovate[bot] commented 7 months ago

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.