CVE-2020-5284

Directory Traversal in Next.js versions below 9.3.2

State
Published
Severity
4.4 Medium
Published
Mar 30, 2020
Updated
Aug 4, 2024
Reserved
Jan 2, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.4 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-23 Relative Path Traversal

Affected Products

ProductVersions
next.jszeit
  • < 9.3.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.