Vulnerabilities

1 via 1 paths

Dependencies

377

Source

GitHub

Commit

59b7e373

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

high severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: astro
  • Introduced through: astro@5.18.1

Detailed paths

  • Introduced through: @onwidget/astrowind@arthelokyo/astrowind#59b7e373d87503686b81bcfb6c7d8f3923eaf698 astro@5.18.1
    Remediation: Upgrade to astro@6.0.0.

Overview

astro is an Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the /_server-islands/[name] route handler, which buffers and parses the entire request body as JSON without enforcing a size limit. An attacker can cause the server process to exhaust available memory and crash by sending a single unauthenticated request with a crafted payload containing many small JSON objects, resulting in significant memory amplification.

Remediation

Upgrade astro to version 6.0.0-beta.20 or higher.

References