Description (CNA)
Next.js is a React framework for building full-stack web applications. From 16.0.0 until 16.3.8, Image Optimization can follow attacker-controlled DNS resolution for a remote URL that matches images.remotePatterns, allowing the optimized image fetch to reach private IP addresses after the URL passes the allow-list check. Applications without images.remotePatterns are not affected. Administrators unable to upgrade should audit allow-listed hosts and avoid entries whose DNS records are not trusted. This issue is fixed in version 16.3.8.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| vercel / next.js | affected >= 16.0.0, < 16.3.8 |
CWE
CWE-918
References
- https://github.com/vercel/next.js/security/advisories/GHSA-cjq9-62q9-8jv4
- https://github.com/vercel/next.js/commit/e002ad68bd676bb0ed0c87bb22e3590304763e0b
- https://github.com/vercel/next.js/releases/tag/v16.3.8
ADP enrichment
No English description supplied.
No references supplied.