GHSA-2xp9-vwfh-vxw4 Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used
CriticalCVSS 9.5
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm next(npm) | >= 10.0.0, < 15.5.24; >= 16.0.0, < 16.3.3 | 15.5.24, 16.3.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm next(npm) | >= 10.0.0, < 15.5.24 | 15.5.24 |
| npm next(npm) | >= 16.0.0, < 16.3.3 | 16.3.3 |
References
- github.com vendor-advisory
- github.com vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com
- github.com
- github.com
- github.com product