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.
Remediation
References
Related Vulnerabilities
Apache HTTP Server Other Vulnerability (CVE-2003-0993)
PHP Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2012-1171)
MySQL CVE-2020-14697 Vulnerability (CVE-2020-14697)
Chamilo Other Vulnerability (CVE-2023-34962)
phpBB Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2019-13376)