Advisory

DEBIAN-CVE-2024-47874

Also known as: CVE-2024-47874

Summary

The record has no summary.

Details

Starlette is an Asynchronous Server Gateway Interface (ASGI) framework/toolkit. Prior to version 0.40.0, Starlette treats multipart/form-data parts without a filename as text form fields and buffers those in byte strings with no size limit. This allows an attacker to upload arbitrary large form fields and cause Starlette to both slow down significantly due to excessive memory allocations and copy operations, and also consume more and more memory until the server starts swapping and grinds to a halt, or the OS terminates the server process with an OOM error. Uploading multiple such requests in parallel may be enough to render a service practically unusable, even if reasonable request size limits are enforced by a reverse proxy in front of Starlette. This Denial of service (DoS) vulnerability affects all applications built with Starlette (or FastAPI) accepting form requests. Verison 0.40.0 fixes this issue.

Severity

Not rated by the source.

Dates

Published
2024-10-15 16:15 UTC
Modified
2026-11-02 12:02 UTC

Affected packages and fixes

starlette

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 0.26.1-1+deb12u1 (ecosystem)

Fixed versions

0.26.1-1+deb12u1

Fix

  • Fixed version 0.26.1-1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

starlette

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.41.0-1 (ecosystem)

Fixed versions

0.41.0-1

Fix

  • Fixed version 0.41.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

starlette

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.41.0-1 (ecosystem)

Fixed versions

0.41.0-1

Fix

  • Fixed version 0.41.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences