Sign me up Login

Details about package starlette

Name: starlette (PTS)
Uploader: Matheus Polkorny <polkorny@disroot.org> (Debian QA page)
Description: python3-starlette - ASGI library ideal for building high performance asyncio services

Package uploads

Upload #1

Information

Version: 0.46.1-3+deb13u1
Uploaded: 2026-01-30 04:43
Source package: starlette_0.46.1-3+deb13u1.dsc
Distribution: trixie
Section: python
Priority: optional
Homepage: https://www.starlette.io/
Vcs-Git: https://salsa.debian.org/python-team/packages/starlette.git
Vcs-Browser: https://salsa.debian.org/python-team/packages/starlette

Changelog

 starlette (0.46.1-3+deb13u1) trixie; urgency=medium
 .
   * Team upload.
   * d/p/CVE-2025-62727.patch: Import Upstream patch to fix CVE-2025-62727
     - An unauthenticated attacker can send a crafted HTTP Range header
       that triggers quadratic-time processing in Starlette's FileResponse
       Range parsing/merging logic. This enables CPU exhaustion per request,
       causing denial‑of‑service for endpoints serving files
   * d/changelog: Fix 0.46.1-3 changelog entry

QA information

Comments

  1. I have backported the patch from upstream to fix CVE-2025-62727.
    
    The PoC used for validation is available at: https://github.com/Kludex/starlette/security/advisories/GHSA-7f5h-v6xp-fcq8
    
    PoC Results for Trixie:
    
    Without Patch:
    > [INFO] Starlette Version: 0.46.1
    > [DEBUG] range_body length: 5002 bytes
    > [DEBUG] elapsed time: 0.101148 seconds
    > 
    > [DEBUG] range_body length: 10002 bytes
    > [DEBUG] elapsed time: 0.443003 seconds
    > 
    > [DEBUG] range_body length: 20002 bytes
    > [DEBUG] elapsed time: 1.275045 seconds
    > 
    > [DEBUG] range_body length: 40002 bytes
    > [DEBUG] elapsed time: 4.811988 seconds
    
    
    With Patch:
    > [INFO] Starlette Version: 0.46.1
    > [DEBUG] range_body length: 5002 bytes
    > [DEBUG] elapsed time: 0.000030 seconds
    > 
    > [DEBUG] range_body length: 10002 bytes
    > [DEBUG] elapsed time: 0.000037 seconds
    > 
    > [DEBUG] range_body length: 20002 bytes
    > [DEBUG] elapsed time: 0.000085 seconds
    > 
    > [DEBUG] range_body length: 40002 bytes
    > [DEBUG] elapsed time: 0.000296 seconds
    Matheus Polkorny at Jan. 30, 2026, 4:57 a.m.