GHSA-673q-mjm6-r5xr Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays
CriticalCVSS 9.5
- Published
- Updated
- Exploit status
- No public exploit known
Description
Impact
A vulnerability in applications using App router with Cache Component can lead to remote code execution. The application needs to have a use cache function that returns multiple typed arrays.
Workaround
There is no known workaround for affected applications with such use cache functions. You should upgrade immediately even if your application does not have similar functions.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm next(npm) | >= 16.0.0, < 16.4.1; >= 16.0.0, <= 16.4.0 | 16.4.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm next(npm) | >= 16.0.0, <= 16.4.0 | No fix listed |
| npm next(npm) | >= 16.0.0, < 16.4.1 | 16.4.1 |
References
- github.com vendor-advisory
- github.com patch
- github.com
- github.com
- github.com product