next@12.0.2-canary.2 vulnerabilities

The React Framework

  • latest version

    15.1.0

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    22 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
    • 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
    • M
    User Interface (UI) Misrepresentation of Critical Information

    next is a react framework.

    Affected versions of this package are vulnerable to User Interface (UI) Misrepresentation of Critical Information due to improper CSP (content security policy).

    Note: In order to be affected ALL of the following must be true:

    1. Next.js between version 10.0.0 and 12.0.10.

    2. The next.config.js file has images.domains array assigned.

    3. The image host assigned in images.domains allows user-provided SVG

    Not affected: The next.config.js file has images.loader assigned to something other than "default".

    How to fix User Interface (UI) Misrepresentation of Critical Information?

    Upgrade next to version 12.1.0 or higher.

    >=10.0.0 <12.1.0
    • M
    Denial of Service (DoS)

    next is a react framework.

    Affected versions of this package are vulnerable to Denial of Service (DoS) when a static asset is requested with a locale prefix.

    Note: This only affects users who are self-hosting their app and are using the internationalization functionality.

    How to fix Denial of Service (DoS)?

    Upgrade next to version 12.0.9 or higher.

    >=12.0.0 <12.0.9
    • H
    Denial of Service (DoS)

    next is a react framework.

    Affected versions of this package are vulnerable to Denial of Service (DoS) due to mishandling of invalid URLs. Note: This vulnerability is only possible for Node.js versions of 15.0.0 and above. Also, deployments on Vercel (vercel.com) are not affected along with similar environments where invalid requests are filtered before reaching Next.js.

    How to fix Denial of Service (DoS)?

    Upgrade next to version 12.0.5, 11.1.3 or higher.

    >=12.0.0 <12.0.5>=11.1.0 <11.1.3