Update dependency sharp to ^0.35.0 [SECURITY] - #74
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 3, 2023 11:46
8b28637 to
9fe8e50
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 3, 2023 15:11
9fe8e50 to
87bece8
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
2 times, most recently
from
January 4, 2024 20:12
690733f to
8339fe5
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
January 9, 2024 11:41
8339fe5 to
b6c5564
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
2 times, most recently
from
January 16, 2024 14:32
eb3460c to
b85614a
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
January 16, 2024 15:12
b85614a to
a1ff6ff
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
2 times, most recently
from
January 28, 2024 15:42
64ca4de to
380dfe2
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
February 4, 2024 09:19
380dfe2 to
f829d7e
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
February 4, 2024 13:02
f829d7e to
74d0ee0
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
February 25, 2024 10:52
74d0ee0 to
bc2ee92
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
February 25, 2024 12:42
bc2ee92 to
c4df25b
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
February 29, 2024 11:23
c4df25b to
c50ffa0
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
2 times, most recently
from
March 24, 2024 18:52
b869ea5 to
462271c
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
April 14, 2024 12:38
462271c to
d3c764c
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
2 times, most recently
from
April 21, 2024 09:25
71e71ac to
92af397
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
April 21, 2024 12:20
92af397 to
9f68b17
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
April 25, 2024 11:26
9f68b17 to
ac94fd2
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
2 times, most recently
from
May 1, 2024 11:00
aed457a to
5042907
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
May 1, 2024 13:50
5042907 to
55aba4a
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
2 times, most recently
from
May 9, 2024 12:43
496d7d9 to
f48b511
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
May 15, 2024 19:22
f48b511 to
07ea379
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
May 16, 2024 01:54
07ea379 to
0343dd2
Compare
renovate
Bot
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
June 4, 2024 11:52
0343dd2 to
03154d0
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.0→^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
v0.31.1Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.