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

starlette-0.38.6-py3-none-any.whl: 1 vulnerabilities (highest severity is: 0.0) #138

Open
mend-bolt-for-github bot opened this issue Nov 6, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Nov 6, 2024

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: /server/intelligence-service/.ws-temp-UFZCKZ-requirements.txt

Path to vulnerable library: /home/wss-scanner/.cache/pypoetry/virtualenvs/intelligence-service-ndLTr3N6-py3.13/lib/python3.13/site-packages/starlette-0.38.6.dist-info

Found in HEAD commit: aa7b783ae4c90058c094080a69288fe20549f115

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (starlette version) Remediation Possible**
CVE-2024-47874 Low 0.0 starlette-0.38.6-py3-none-any.whl Direct 0.40.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-47874

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: /server/intelligence-service/.ws-temp-UFZCKZ-requirements.txt

Path to vulnerable library: /home/wss-scanner/.cache/pypoetry/virtualenvs/intelligence-service-ndLTr3N6-py3.13/lib/python3.13/site-packages/starlette-0.38.6.dist-info

Dependency Hierarchy:

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

Found in HEAD commit: aa7b783ae4c90058c094080a69288fe20549f115

Found in base branch: develop

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

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Nov 6, 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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants