5.0
MEDIUM CVSS 2.0
CVE-2020-5284
Next.js Directory Traversal Vulnerability
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.

INFO

Published Date :

March 30, 2020, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 5:33 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2020-5284 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Zeit next.js
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Public PoC/Exploit Available at Github

CVE-2020-5284 has a 10 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-5284.

URL 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
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
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-5284 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

notes on Next.js security

Updated: 5 months ago
0 stars 0 fork 0 watcher
Born at : March 13, 2025, 4:27 p.m. This repo has been linked 4 different CVEs too.

None

CSS HTML JavaScript

Updated: 1 year, 6 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2024, 2:11 p.m. This repo has been linked 494 different CVEs too.

在公网收集的gobypoc+部分自己加的poc

Updated: 3 weeks, 6 days ago
111 stars 8 fork 8 watcher
Born at : July 28, 2023, 4:28 p.m. This repo has been linked 296 different CVEs too.

None

Updated: 3 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : July 6, 2022, 8:40 a.m. This repo has been linked 157 different CVEs too.

None

Updated: 1 year ago
0 stars 0 fork 0 watcher
Born at : July 6, 2022, 8:40 a.m. This repo has been linked 153 different CVEs too.

这是fscan的内网修改版。

Go

Updated: 1 month, 4 weeks ago
158 stars 10 fork 10 watcher
Born at : June 18, 2022, 2:12 a.m. This repo has been linked 26 different CVEs too.

一个集和多线程 批量验证 poc验证 存活测试 备份文件探测 后台探测 渗透测试框架。

Python

Updated: 1 year, 8 months ago
15 stars 2 fork 2 watcher
Born at : March 15, 2022, 2:29 a.m. This repo has been linked 15 different CVEs too.

None

Python XSLT

Updated: 4 months, 1 week ago
20 stars 5 fork 5 watcher
Born at : May 22, 2021, 4:29 p.m. This repo has been linked 350 different CVEs too.

Customized templates originally pulled from `projectdiscovery/nuclei-templates`

Python

Updated: 7 months ago
6 stars 1 fork 1 watcher
Born at : March 11, 2021, 1:56 a.m. This repo has been linked 174 different CVEs too.

essential templates for kenzer [DEPRECATED]

kenzer vulnerabilities kenzer-templates arpsyndicate

Python Shell Ruby

Updated: 1 month, 2 weeks ago
117 stars 38 fork 38 watcher
Born at : Sept. 18, 2020, 9:03 p.m. This repo has been linked 1655 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-5284 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-5284 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/zeit/next.js/releases/tag/v9.3.2
    Added Reference https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Apr. 01, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
    Changed Reference Type https://github.com/zeit/next.js/releases/tag/v9.3.2 No Types Assigned https://github.com/zeit/next.js/releases/tag/v9.3.2 Release Notes
    Changed Reference Type https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj No Types Assigned https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:zeit:next.js:*:*:*:*:*:*:*:* versions up to (excluding) 9.3.2
  • CVE Modified by [email protected]

    Mar. 30, 2020

    Action Type Old Value New Value
    Changed 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. 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.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 4.4
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

77.32 }} -5.48%

score

0.98928

percentile