p PatchFirst

CVE-2020-5284

CVE-2020-5284 · Directory Traversal in Next.js versions below 9.3.2

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.4 · Medium · EPSS 44.8% · Public exploit · Fix available

Published
Updated

Stack: node

Affected products and versions

  • next.js

    Versions
    • < 9.3.2: Affected

    No fix published

  • next npm

    Affected ranges
    • SEMVER: ≥ 0.9.9, < 9.3.2

    Update to 9.3.2

Original sources

Check your server →