Skip to content

CVE-2025-62727 (High) detected in starlette-0.47.3-py3-none-any.whl #2571

@mend-for-github-com

Description

@mend-for-github-com

CVE-2025-62727 - High Severity Vulnerability

Vulnerable Library - starlette-0.47.3-py3-none-any.whl

The little ASGI library that shines.

Library home page: https://files.pythonhosted.org/packages/ce/fd/901cfa59aaa5b30a99e16876f11abe38b59a1a2c51ffb3d7142bb6089069/starlette-0.47.3-py3-none-any.whl

Path to dependency file: /mac-requirements.txt

Path to vulnerable library: /tmp/ws-ua_20251129022250_KPBZAV/python_ABYIAI/202511290223451/env/lib/python3.9/site-packages/starlette-0.47.3.dist-info,/tmp/ws-ua_20251129022250_KPBZAV/python_ABYIAI/202511290223451/env/lib/python3.9/site-packages/starlette-0.47.3.dist-info

Dependency Hierarchy:

  • fastapi-0.116.1-py3-none-any.whl (Root Library)
    • starlette-0.47.3-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: fda2a37b98507f17a864087fe28ef6b2dcf1984c

Found in base branch: 3.0

Vulnerability Details

Starlette is a lightweight ASGI framework/toolkit. Prior to 0.49.1 , 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 (e.g., StaticFiles or any use of FileResponse). This vulnerability is fixed in 0.49.1.

Publish Date: 2025-10-28

URL: CVE-2025-62727

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-7f5h-v6xp-fcq8

Release Date: 2025-10-28

Fix Resolution: starlette - 0.49.1,https://github.com/Kludex/starlette.git - 0.49.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions