@sveltejs/kit@2.52.0 vulnerabilities

SvelteKit is the fastest way to build Svelte apps

  • latest version

    2.53.4

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    10 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @sveltejs/kit package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Allocation of Resources Without Limits or Throttling

    @sveltejs/kit is a SvelteKit framework and CLI

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the deserialize_binary_form function in the remote form handler. An attacker can exhaust application resources by sending crafted binary form payloads with file entries that reuse or overlap the same offsets, causing the handler to inflate the files array and perform costly processing.

    Notes: Only users with experimental.remoteFunctions: true who are using the form function and are processing the files array without validation are vulnerable.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade @sveltejs/kit to version 2.53.3 or higher.

    >=2.49.0 <2.53.3
    • H
    Allocation of Resources Without Limits or Throttling

    @sveltejs/kit is a SvelteKit framework and CLI

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the remote form deserialization. An attacker can cause excessive memory allocation and crash the server process by submitting malformed form data.

    Note:

    This is only exploitable if both experimental.remoteFunctions and form are enabled.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade @sveltejs/kit to version 2.52.2 or higher.

    >=2.49.0 <2.52.2
    • M
    Access of Resource Using Incompatible Type ('Type Confusion')

    @sveltejs/kit is a SvelteKit framework and CLI

    Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') via the remote form deserialization. An attacker can cause the server to become unresponsive and exhaust CPU resources by submitting malformed form data.

    Note:

    This is only exploitable if both experimental.remoteFunctions and form are enabled.

    How to fix Access of Resource Using Incompatible Type ('Type Confusion')?

    Upgrade @sveltejs/kit to version 2.52.2 or higher.

    >=2.49.0 <2.52.2