Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-47874 (Low) detected in starlette-0.38.6-py3-none-any.whl - autoclosed #2433

Closed
mend-for-github.aaakk.us.kg bot opened this issue Oct 31, 2024 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github.aaakk.us.kg
Copy link
Contributor

mend-for-github.aaakk.us.kg bot commented Oct 31, 2024

CVE-2024-47874 - Low Severity Vulnerability

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

The little ASGI library that shines.

Library home page: https://files.pythonhosted.org/packages/b7/9c/93f7bc03ff03199074e81974cc148908ead60dcf189f68ba1761a0ee35cf/starlette-0.38.6-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt,/mac-requirements.txt

Dependency Hierarchy:

  • fastapi-0.113.0-py3-none-any.whl (Root Library)
    • starlette-0.38.6-py3-none-any.whl (Vulnerable Library)

Found in base branch: 3.0

Vulnerability 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.

Publish Date: 2024-10-15

URL: CVE-2024-47874

CVSS 3 Score Details (0.0)

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: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-47874

Release Date: 2024-10-15

Fix Resolution (starlette): 0.40.0

Direct dependency fix Resolution (fastapi): 0.115.2


⛑️ Automatic Remediation will be attempted for this issue.

@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Oct 31, 2024
@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot changed the title CVE-2024-47874 (Low) detected in starlette-0.37.2-py3-none-any.whl CVE-2024-47874 (Low) detected in starlette-0.38.6-py3-none-any.whl Oct 31, 2024
Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot changed the title CVE-2024-47874 (Low) detected in starlette-0.38.6-py3-none-any.whl CVE-2024-47874 (Low) detected in starlette-0.38.6-py3-none-any.whl - autoclosed Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants