Skip to content

Bug: gateway connect-frame auth.* fields are not bounded at the protocol schema #77977

Description

@fede-kamel

Problem

The gateway connect-frame protocol accepts auth.* fields without size or shape bounds at the schema layer. A malformed or oversized auth object can land deep in the auth pipeline before being rejected, increasing surface area and exposing inner code paths to attacker-controlled payloads of arbitrary size.

Defense-in-depth: bound every auth.* field at the protocol schema so payloads are rejected at the boundary instead of inside auth-handling logic.

Tracking PR

Fix in #77538.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions