Skip to content

Cap HTTP response body size to prevent memory exhaustion via hostile remote endpoints #14167

@tareknaser

Description

@tareknaser

Cedarling's HTTP fetch paths buffer entire responses into memory with no upper bound.
A hostile or compromised remote can return an arbitrarily large body and OOM the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions