CVE-2020-5284

Medium

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.

SeverityMedium
CVSS4.4
Exploit probability—
ProductZeit Next.js
PublishedMar 30, 2020
First seenMar 30, 2020
Weakness typeCWE-23CWE-23

How to fix

Update
  • zeit next.js9.3.2 or later
  • next9.3.2 or later

Affected products

ProductAffected versionsFixed in
zeit next.jsv < 9.3.29.3.2
nextnpm0.9.9 ≤ v < 9.3.29.3.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.