HighGHSA-3f5c-4qxj-vmpfCVE-2017-16877
Next.js Directory Traversal Vulnerability
Published 5 Dec 2017 · Updated 22 Apr 2024
Affected package
nextnpm
- Affected
- >=1.0.0 <2.4.1
- Fixed in
- 2.4.1
Update to the fixed version for your release line, for example:
npm install next@2.4.1Details
Next.js before 2.4.1 has directory traversal under the /_next and /static request namespace, allowing attackers to obtain sensitive information.
Is GHSA-3f5c-4qxj-vmpf 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.