next@14.2.13 vulnerabilities

The React Framework

  • latest version

    15.3.1

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    20 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the next package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Improper Authorization

    next is a react framework.

    Affected versions of this package are vulnerable to Improper Authorization due to the improper handling of the x-middleware-subrequest header. An attacker can bypass authorization checks by sending crafted requests containing this specific header.

    How to fix Improper Authorization?

    Upgrade next to version 12.3.5, 13.5.9, 14.2.25, 15.2.3, 15.3.0-canary.12 or higher.

    >=11.1.4 <12.3.5>=13.0.0 <13.5.9>=14.0.0 <14.2.25>=15.0.0-rc.0 <15.2.3>=15.3.0-canary.0 <15.3.0-canary.12
    • M
    Allocation of Resources Without Limits or Throttling

    next is a react framework.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the Server Actions process. An attacker can cause the server to hang by constructing requests that leave Server-Actions requests pending until the hosting provider terminates the function execution.

    Note:

    This is only exploitable if there are no protections against long-running Server Action invocations.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade next to version 13.5.8, 14.2.21, 15.1.2 or higher.

    >=13.0.0 <13.5.8>=14.0.0 <14.2.21>=15.0.0 <15.1.2
    • H
    Missing Authorization

    next is a react framework.

    Affected versions of this package are vulnerable to Missing Authorization when using pathname-based checks in middleware for authorization decisions. If i18n configuration is not configured, an attacker can get unintended access to pages one level under the application's root directory.

    e.g. https://example.com/foo is accessible. https://example.com/ and https://example.com/foo/bar are not.

    Note:

    Only self-hosted applications are vulnerable. The vulnerability has been fixed by Vercel on the server side.

    How to fix Missing Authorization?

    Upgrade next to version 13.5.8, 14.2.15, 15.0.0-canary.177 or higher.

    >=9.5.5 <13.5.8>=14.0.0 <14.2.15>=15.0.0-canary.0 <15.0.0-canary.177