Path Traversal in Zeit Next.js
CVE-2020-5284
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.448 (98.7th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 99th percentile — 98.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.443 · newest: 0.448 · change: +0.004
Affected products
- Zeit Next.js — versions < 9.3.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj (Third Party Advisory)
- github.com/zeit/next.js/releases/tag/v9.3.2 (Release Notes)
Frequently asked questions
- What is CVE-2020-5284?
- CVE-2020-5284 is a medium-severity vulnerability in Zeit Next.js, classified under Relative Path Traversal. CVSS score: 4.4/10. Published 2020-03-30.
- How severe is CVE-2020-5284?
- Medium severity. CVSS v3 base score is 4.4 out of 10.
- Is CVE-2020-5284 known to be exploited?
- 15 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.