CVE-2020-5284

MEDIUMCVSS 4.3/10EPSS 43.43%

Last modified

CVE-2020-5284 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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). EPSS estimates a 43.43% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
4.3/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS Probability
43.43%

98.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
ZeitNext.Js< 9.3.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2020-5284?
CVE-2020-5284 has a CVSS score of 4.3/10 (MEDIUM severity). The EPSS model estimates a 43.43% probability of exploitation in the next 30 days.
How do I fix CVE-2020-5284?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-5284?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST