Update dependency sharp to ^0.35.0 [SECURITY] - #15
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
October 9, 2024 09:35
67773a2 to
01478ae
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
October 9, 2024 12:45
01478ae to
de998ec
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
October 28, 2024 16:36
de998ec to
7274e17
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
October 28, 2024 18:39
7274e17 to
d27553e
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
November 3, 2024 11:18
d27553e to
5823d27
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
November 3, 2024 14:08
5823d27 to
bca37ea
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 2, 2024 10:19
bca37ea to
a963058
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 2, 2024 14:51
a963058 to
0ed577a
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 8, 2024 21:56
b13cb1b to
0ed577a
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 17, 2024 20:15
0ed577a to
3edd1ce
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 17, 2024 23:48
3edd1ce to
d68d679
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 22, 2024 17:13
d68d679 to
1eaf9e4
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 22, 2024 19:19
1eaf9e4 to
a5e47ea
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
February 9, 2025 12:32
0ab95ac to
0b5b501
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
February 10, 2025 03:54
0b5b501 to
f4ee652
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
March 5, 2025 04:18
f4ee652 to
d5230a3
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
March 5, 2025 07:20
d5230a3 to
e0ad506
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
March 11, 2025 12:38
e0ad506 to
1d3cb0c
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
March 11, 2025 23:11
1d3cb0c to
d00d47a
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
March 13, 2025 14:51
d00d47a to
49d1f6c
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
March 13, 2025 18:38
49d1f6c to
3524121
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
March 17, 2025 18:46
3524121 to
425c90e
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
March 17, 2025 22:36
425c90e to
27d47a4
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
April 3, 2025 20:09
27d47a4 to
1443e8e
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
April 3, 2025 22:37
1443e8e to
ee993bd
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
April 17, 2025 18:35
ee993bd to
185bbce
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
April 17, 2025 22:51
185bbce to
2b6cde6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.31.1→^0.35.0sharp vulnerability in libwebp dependency CVE-2023-4863
GHSA-54xq-cgqr-rpm3
More information
Details
Overview
sharp uses libwebp to decode WebP images and versions prior to the latest 0.32.6 are vulnerable to the high severity 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.
Severity
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
sharp inherited vulnerabilities in libvips: CVE-2026-33327, CVE-2026-33328, CVE-2026-35590, CVE-2026-35591
GHSA-f88m-g3jw-g9cj
More information
Details
Impact
A number of vulnerabilities, two rated as "High" severity using CVSSv4, have been discovered and fixed in the upstream libvips dependency.
Those processing untrusted input with versions of sharp prior to 0.35.0 are affected.
Patches
Using prebuilt binaries provided by sharp?
Most people rely on the prebuilt binaries provided by sharp.
Please upgrade sharp to the latest version, currently 0.35.3, which provides libvips 8.18.3.
Using a globally-installed libvips?
Please ensure you are using the latest libvips 8.18.3.
Workarounds
Add the following to your code to prevent sharp from decoding GIF, TIFF and VIPS images.
Severity
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
lovell/sharp (sharp)
v0.35.0Compare Source
Breaking: Drop support for Node.js 18, now requires Node.js >= 20.9.0.
Breaking: Remove
installscript frompackage.jsonfile.Compiling from source is now opt-in via the
buildscript.Breaking: Lossy AVIF output is now tuned using SSIMULACRA2-based
iqquality metrics.Breaking: Add
limitInputChannelswith a default value of 5.Breaking: Remove deprecated
failOnErrorconstructor property.Breaking: Remove deprecated
paletteBitDepthfrommetadataresponse.Breaking: Remove deprecated properties from
sharpenoperation.Breaking: Rename
format.jp2kasformat.jp2for API consistency.Upgrade to libvips v8.18.3 for upstream bug fixes.
Remove experimental status from WebAssembly binaries.
Add prebuilt binaries for FreeBSD (WebAssembly).
Deprecate Windows 32-bit (win32-ia32) prebuilt binaries.
Ensure TIFF output
bitdepthoption is limited to 1, 2 or 4.Add AVIF/HEIF
tuneoption for control over quality metrics.#4227
Add
keepGainMapandwithGainMapto process HDR JPEG images with embedded gain maps.#4314
Add
toUint8Arrayfor output image as aTypedArraybacked by a transferableArrayBuffer.#4355
Require prebuilt binaries using static paths to aid code bundling.
#4380
TypeScript: Ensure
FormatEnumkeys match reality.#4475
Add
marginoption totrimoperation.#4480
@eddienubes
Ensure HEIF primary item is used as default page/frame.
#4487
Add image Media Type (MIME Type) to metadata response.
#4492
Add
withDensityto set output density in EXIF metadata.#4496
Improve
pkg-configpath discovery.#4504
Add WebP
exactoption for control over transparent pixel colour values.Add support for ECMAScript Modules (ESM).
#4509
@florian-lefebvre
v0.34.5Compare Source
Upgrade to libvips v8.17.3 for upstream bug fixes.
Add experimental support for prebuilt Linux RISC-V 64-bit binaries.
Support building from source with npm v12+, deprecate
--build-from-sourceflag.#4458
Add support for BigTIFF output.
#4459
@throwbi
Improve error messaging when only warnings issued.
#4465
Simplify ICC processing when retaining input profiles.
#4468
v0.34.4Compare Source
Upgrade to libvips v8.17.2 for upstream bug fixes.
Ensure TIFF
subifdand OpenSlidelevelinput options are respected (regression in 0.34.3).Ensure
autoOrientoccurs before non-90 angle rotation.#4425
Ensure
autoOrientremoves existing metadata after shrink-on-load.#4431
TypeScript: Ensure
KernelEnumincludeslinear.#4441
@BayanBennett
Ensure
unlimitedflag is passed upstream when reading TIFF images.#4446
Support Electron memory cage when reading XMP metadata (regression in 0.34.3).
#4451
Add sharp-libvips rpath for yarn v5 support.
#4452
@arcanis
v0.34.3Compare Source
v0.34.2Compare Source
v0.34.1Compare Source
v0.34.0Compare Source
v0.33.5Compare Source
v0.33.4Compare Source
v0.33.3Compare Source
v0.33.2Compare Source
v0.33.1Compare Source
v0.33.0Compare Source
v0.32.6Compare Source
v0.32.5Compare Source
v0.32.4Compare Source
v0.32.3Compare Source
v0.32.2Compare Source
v0.32.1Compare Source
v0.32.0Compare Source
v0.31.3Compare Source
v0.31.2Compare Source
Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.