VDB
Sign up
CRITICAL9.8

GHSA-26w7-cxv4-gfx2

Astro: Remote code execution through AVIF image optimization

Quick fix

GHSA-26w7-cxv4-gfx2 — astro: upgrade to the fixed version with the command below.

npm install astro@7.2.8

Details

A vulnerability in `libheif`, used by the default Sharp image service in Astro, can lead to remote code execution when a malicious AVIF image is optimized.

Projects are affected when an attacker can cause Astro to process an untrusted AVIF image.

The fix was released in Astro 7.2.8, which requires Sharp 0.35.4.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/astro
Introduced in: 0Fixed in: 7.2.8
Fixnpm install astro@7.2.8

References