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

feat: add percentages dto and endpoint #177

Merged
merged 6 commits into from
Oct 17, 2024

Conversation

SteZamboni
Copy link
Member

added percentages last_n endpoint
added percentages DTO
fix on currentJob for PERCENTAGES column

@devops-radicalbit
Copy link
Contributor

Vulnerabilities detected

The following vulnerabilities with HIGH,CRITICAL severity have been detected in the code. Please resolve these before merging the pull request.

CVE-2024-47874 starlette: Starlette Denial of service (DoS) via multipart/form-data

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.

@SteZamboni SteZamboni changed the title Feature/ros 434 add percentages dto feat: add percentages dto and endpoint Oct 16, 2024
@devops-radicalbit
Copy link
Contributor

Vulnerabilities detected

The following vulnerabilities with HIGH,CRITICAL severity have been detected in the code. Please resolve these before merging the pull request.

CVE-2024-47874 starlette: Starlette Denial of service (DoS) via multipart/form-data

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.

@devops-radicalbit
Copy link
Contributor

No vulnerabilities detected

No vulnerabilities with HIGH,CRITICAL severity have been detected in the code.

@SteZamboni SteZamboni merged commit 5e61425 into main Oct 17, 2024
14 checks passed
@SteZamboni SteZamboni deleted the feature/ROS-434-add-percentages-dto branch October 17, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants