Description
next-video through 2.8.3 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server fetch arbitrary URLs by submitting a url value to the /api/video handler. With Amazon S3, Backblaze B2, Cloudflare R2 or Vercel Blob providers, attackers can reach internal services or cloud metadata endpoints and read responses from publicly readable bucket objects.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| muxinc | next-video | 0 ≤2.8.3 | — |
References
- https://github.com/muxinc/next-video/blob/v2.8.3/src/assets.ts#L71-L72
- https://github.com/muxinc/next-video/blob/v2.8.3/src/request-handler.ts#L77-L93
- https://github.com/muxinc/next-video/blob/v2.8.3/src/providers/amazon-s3/provider.ts#L145-L171
- https://www.vulncheck.com/advisories/next-video-through-2.8.3-unauthenticated-ssrf-via-api-video-handler