GHSA-2xp9-vwfh-vxw4

Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used

En bref

Publiée
Mise à jour
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Description

A vulnerability in the underlying `libheif` library used by `sharp` which Next.js uses for image optimization can lead to remote code execution when AVIF files are optimized. Until a fix has propagated, optimization of AVIF files is disabled.

Paquets affectés

PaquetVersions
npm · nextintroduced 10.0.0, fixed 15.5.24
npm · nextintroduced 16.0.0, fixed 16.3.3

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database