next@13.0.0 vulnerabilities

The React Framework

  • latest version

    15.3.0

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    2 days 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
    • H
    Uncontrolled Recursion

    next is a react framework.

    Affected versions of this package are vulnerable to Uncontrolled Recursion through the image optimization feature. An attacker can cause excessive CPU consumption by exploiting this vulnerability.

    How to fix Uncontrolled Recursion?

    Upgrade next to version 14.2.7, 15.0.0-canary.109 or higher.

    >=10.0.0 <14.2.7>=15.0.0-canary.0 <15.0.0-canary.109
    • M
    Resource Exhaustion

    next is a react framework.

    Affected versions of this package are vulnerable to Resource Exhaustion via the cache-control header. An attacker can cause a denial of service to all users requesting the same URL via a CDN by caching empty prefetch responses.

    How to fix Resource Exhaustion?

    Upgrade next to version 13.4.20-canary.13 or higher.

    <13.4.20-canary.13