next@13.5.8 vulnerabilities

The React Framework

  • latest version

    15.1.2

  • 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
    • 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 14.2.15 or higher.

    >=9.5.5 <14.2.15
    • 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
    Server-Side Request Forgery (SSRF)

    next is a react framework.

    Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF) through the Host header manipulation. An attacker can make unauthorized requests appearing to originate from the server.

    Notes:

    Prerequisites:

    1. Next.js (<14.1.1) is running in a self-hosted manner.

    2. The Next.js application makes use of Server Actions.

    3. The Server Action performs a redirect to a relative path which starts with a /.

    How to fix Server-Side Request Forgery (SSRF)?

    Upgrade next to version 14.1.1 or higher.

    >=13.4.0 <14.1.1