Moderate severityNVD Advisory· Published Mar 30, 2020· Updated Aug 4, 2024
Directory Traversal in Next.js versions below 9.3.2
CVE-2020-5284
Description
Next.js versions before 9.3.2 have a directory traversal vulnerability. Attackers could craft special requests to access files in the dist directory (.next). This does not affect files outside of the dist directory (.next). In general, the dist directory only holds build assets unless your application intentionally stores other assets under this directory. This issue is fixed in version 9.3.2.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nextnpm | >= 0.9.9, < 9.3.2 | 9.3.2 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-fq77-7p7r-83rjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-5284ghsaADVISORY
- github.com/zeit/next.js/releases/tag/v9.3.2ghsax_refsource_MISCWEB
- github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rjghsax_refsource_CONFIRMWEB
- www.npmjs.com/advisories/1503ghsaWEB
News mentions
0No linked articles in our index yet.