Path traversal in Next.js - CVE-2020-5284

 

Path traversal in Next.js - CVE-2020-5284

Published: March 31, 2020 / Updated: July 11, 2024


Vulnerability identifier: #VU26476
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-5284
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Affected software

Next.js

How to mitigate CVE-2020-5284

Install update from vendor's website.

Next.js - update to 9.3.2

External References

Related Security Bulletins