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.
References
Link | Resource |
---|---|
https://github.com/zeit/next.js/releases/tag/v9.3.2 | Release Notes |
https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj | Third Party Advisory |
Configurations
Information
Published : 2020-03-30 15:15
Updated : 2020-04-01 13:08
NVD link : CVE-2020-5284
Mitre link : CVE-2020-5284
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
zeit
- next.js