CVE Catalog

GHSA-2464-fhr4-w9xw

Critical
Published: —Translated: NVD NIST

Summary

A memory-related vulnerability has been discovered in an upstream library used for Image Optimization in Next.js, which can lead to possible remote code execution (RCE) when Next.js runs on glibc-based Linux. The issue affects sharp versions older than 0.35.5.

Risk Assessment

Potential remote code execution on the Next.js application server, which could lead to full host compromise and data exposure.

Recommendation

Upgrade the sharp library used by Next.js to version 0.35.5 or later and redeploy the application.

Other vulnerabilities in sharp

See all
Original NVD description (English source)

## Impact A memory-related vulnerability has been discovered in an upstream library used for Image Optimization can lead to possible remote code execution (RCE) when Next.js runs on glibc-based Linux. ## Workaround Ensure the version of `sharp` used by Next.js is greater than or equal to `0.35.5`

Vulnerability data from NVD (NIST) · CISA KEV · EPSS