Skip to content

[SECURITY] No request size limiting on API endpoints - DoS vulnerability #331

Description

@Siddh2024

Description

The API endpoints do not limit incoming request body sizes. An attacker can send extremely large payloads to exhaust server memory and CPU, causing a denial of service.

Suggested Fix

Implement request body size limits using middleware (e.g., body-parser limit option or nginx client_max_body_size).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions