HighGHSA-m34x-wgrh-g897CVE-2018-6184
Directory traversal vulnerability in Next.js
Published 24 Jan 2018 · Updated 8 Nov 2023
Affected package
nextnpm
- Affected
- >=1.0.0 <4.2.3
- Fixed in
- 4.2.3
Update to the fixed version for your release line, for example:
npm install next@4.2.3Details
Next.js 4 before 4.2.3 has Directory Traversal under the /_next request namespace.
Is GHSA-m34x-wgrh-g897 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected next, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.