CVE-2020-5284
Zeit Next.js vulnerability
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 products
Next.js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zeit Next.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj · Third Party Advisory
- github.com/zeit/next.js/releases/tag/v9.3.2
- nvd.nist.gov/vuln/detail/CVE-2020-5284
- www.npmjs.com/advisories/1503
- github.com/advisories/GHSA-fq77-7p7r-83rj
- nvd.nist.gov/vuln/detail/CVE-2020-5284
- cve.org/CVERecord?id=CVE-2020-5284
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.