Advisory Published


First published: Thu Nov 16 2023(Updated: )

## 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. ```js sharp.block({ operation: ["VipsForeignLoadWebp"] }); ```

Affected SoftwareAffected VersionHow to fix

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of GHSA-54xq-cgqr-rpm3?

    The severity of GHSA-54xq-cgqr-rpm3 is high.

  • Who does GHSA-54xq-cgqr-rpm3 affect?

    GHSA-54xq-cgqr-rpm3 affects almost anyone processing untrusted input with versions of sharp prior to 0.32.6.

  • How do I fix GHSA-54xq-cgqr-rpm3?

    To fix GHSA-54xq-cgqr-rpm3, update to the latest version of sharp (0.32.6 or above).

  • What is the reference for GHSA-54xq-cgqr-rpm3?

    The reference for GHSA-54xq-cgqr-rpm3 can be found at: [link](https://github.com/lovell/sharp/security/advisories/GHSA-54xq-cgqr-rpm3).


SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2023 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203