Advisory

DEBIAN-CVE-2025-54121

Also known as: CVE-2025-54121

Summary

The record has no summary.

Details

Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, designed for building async web services in Python. In versions 0.47.1 and below, when parsing a multi-part form with large files (greater than the default max spool size) starlette will block the main thread to roll the file over to disk. This blocks the event thread which means the application can't accept new connections. The UploadFile code has a minor bug where instead of just checking for self._in_memory, the logic should also check if the additional bytes will cause a rollover. The vulnerability is fixed in version 0.47.2.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2025-07-21 20:15 UTC
Modified
2026-09-01 20:05 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.46.1-3 (ecosystem)

Fixed versions

0.46.1-3

Fix

  • Fixed version 0.46.1-3
    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.46.1-3 (ecosystem)

Fixed versions

0.46.1-3

Fix

  • Fixed version 0.46.1-3
    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